src/Incoming/Structure/Map.php
public function get($key, $default_val = null)
    {
        if ($this->exists($key)) {
            return $this->offsetGet($key);
        }

        return $default_val;
    }
public function get($key, $default_val = null)
    {
        if ($this->exists($key)) {
            return $this->offsetGet($key);
        }

        return $default_val;
    }
public function get ( $ key , $ default_val = null ) { if ( $ this -> exists ( $ key ) ) { return $ this -> offsetGet ( $ key ) ; } return $ default_val ; }
Get a value in the map by key.

@param mixed $key The key to get the value for.
@param mixed $default_val The default value to return if the key does
not exist.
@return mixed The resulting value.
Get a value in the map by key .