public function get($key, $default = null)
    {
        if (isset($this->contents[$key])) {
            return $this->contents[$key];
        }
        return $default;
    }
public function get($key, $default = null)
    {
        if (isset($this->contents[$key])) {
            return $this->contents[$key];
        }
        return $default;
    }
public function get ( $ key , $ default = null ) { if ( isset ( $ this -> contents [ $ key ] ) ) { return $ this -> contents [ $ key ] ; } return $ default ; }
Get value for key

@param string $key
@param mixed $default Default value returned when key doesn't exists.
@return mixed
Get value for key