public function get($key, $default = null, $filter = null)
    {
        $result = $default;
        if ($this->has($key)) {
            $result = $this->offsetGet($key);
        }

        return $this->filter($result, $filter);
    }
public function get($key, $default = null, $filter = null)
    {
        $result = $default;
        if ($this->has($key)) {
            $result = $this->offsetGet($key);
        }

        return $this->filter($result, $filter);
    }
public function get ( $ key , $ default = null , $ filter = null ) { $ result = $ default ; if ( $ this -> has ( $ key ) ) { $ result = $ this -> offsetGet ( $ key ) ; } return $ this -> filter ( $ result , $ filter ) ; }
Get a value from the data given its key
@param string $key     The key used to fetch the data
@param mixed  $default The default value
@param mixed  $filter  Filter returned value
@return mixed
Get a value from the data given its key