public function offsetGet($name)
    {
        deprecationWarning(
            'The ArrayAccess methods will be removed in 4.0.0.' .
            'Use getParam(), getData() and getQuery() instead.'
        );

        if (isset($this->params[$name])) {
            return $this->params[$name];
        }
        if ($name === 'url') {
            return $this->query;
        }
        if ($name === 'data') {
            return $this->data;
        }

        return null;
    }
public function offsetGet($name)
    {
        deprecationWarning(
            'The ArrayAccess methods will be removed in 4.0.0.' .
            'Use getParam(), getData() and getQuery() instead.'
        );

        if (isset($this->params[$name])) {
            return $this->params[$name];
        }
        if ($name === 'url') {
            return $this->query;
        }
        if ($name === 'data') {
            return $this->data;
        }

        return null;
    }
public function offsetGet ( $ name ) { deprecationWarning ( 'The ArrayAccess methods will be removed in 4.0.0.' . 'Use getParam(), getData() and getQuery() instead.' ) ; if ( isset ( $ this -> params [ $ name ] ) ) { return $ this -> params [ $ name ] ; } if ( $ name === 'url' ) { return $ this -> query ; } if ( $ name === 'data' ) { return $ this -> data ; } return null ; }
Array access read implementation

@param string $name Name of the key being accessed.
@return mixed
@deprecated 3.4.0 The ArrayAccess methods will be removed in 4.0.0. Use getParam(), getData() and getQuery() instead.
Array access read implementation