protected function getRequestContext()
    {
        if (null === $this->requestContext) {
            $this->requestContext = new RequestContext();
            $this->requestContext->fromRequest($this->getRequest());
        }

        return $this->requestContext;
    }
protected function getRequestContext()
    {
        if (null === $this->requestContext) {
            $this->requestContext = new RequestContext();
            $this->requestContext->fromRequest($this->getRequest());
        }

        return $this->requestContext;
    }
protected function getRequestContext ( ) { if ( null === $ this -> requestContext ) { $ this -> requestContext = new RequestContext ( ) ; $ this -> requestContext -> fromRequest ( $ this -> getRequest ( ) ) ; } return $ this -> requestContext ; }
Returns the current request context.

@access protected

@return RequestContext
Returns the current request context .