PHP Class Neos\Flow\Mvc\Controller\ControllerContext

Exibir arquivo Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$arguments Arguments
$flashMessageContainer Neos\Flow\Mvc\FlashMessageContainer
$request Neos\Flow\Mvc\RequestInterface
$response Neos\Flow\Http\Response
$uriBuilder Neos\Flow\Mvc\Routing\UriBuilder

Public Methods

Method Description
__construct ( Neos\Flow\Mvc\RequestInterface $request, Response $response, Arguments $arguments, UriBuilder $uriBuilder ) Constructs this context
getArguments ( ) : Arguments Get the arguments of the controller
getFlashMessageContainer ( ) : FlashMessageContainer Get the flash message container
getRequest ( ) : Neos\Flow\Mvc\RequestInterface Get the request of the controller
getResponse ( ) : Neos\Flow\Mvc\ResponseInterface Get the response of the controller
getUriBuilder ( ) : UriBuilder Returns the URI Builder bound to this context

Method Details

__construct() public method

Constructs this context
public __construct ( Neos\Flow\Mvc\RequestInterface $request, Response $response, Arguments $arguments, UriBuilder $uriBuilder )
$request Neos\Flow\Mvc\RequestInterface
$response Neos\Flow\Http\Response
$arguments Arguments
$uriBuilder Neos\Flow\Mvc\Routing\UriBuilder

getArguments() public method

Get the arguments of the controller
public getArguments ( ) : Arguments
return Arguments

getFlashMessageContainer() public method

Get the flash message container
public getFlashMessageContainer ( ) : FlashMessageContainer
return Neos\Flow\Mvc\FlashMessageContainer A container for flash messages

getRequest() public method

Get the request of the controller
public getRequest ( ) : Neos\Flow\Mvc\RequestInterface
return Neos\Flow\Mvc\RequestInterface

getResponse() public method

Get the response of the controller
public getResponse ( ) : Neos\Flow\Mvc\ResponseInterface
return Neos\Flow\Mvc\ResponseInterface

getUriBuilder() public method

Returns the URI Builder bound to this context
public getUriBuilder ( ) : UriBuilder
return Neos\Flow\Mvc\Routing\UriBuilder

Property Details

$arguments protected_oe property

protected Arguments,Neos\Flow\Mvc\Controller $arguments
return Arguments

$flashMessageContainer protected_oe property

protected FlashMessageContainer,Neos\Flow\Mvc $flashMessageContainer
return Neos\Flow\Mvc\FlashMessageContainer

$request protected_oe property

protected RequestInterface,Neos\Flow\Mvc $request
return Neos\Flow\Mvc\RequestInterface

$response protected_oe property

protected Response,Neos\Flow\Http $response
return Neos\Flow\Http\Response

$uriBuilder protected_oe property

protected UriBuilder,Neos\Flow\Mvc\Routing $uriBuilder
return Neos\Flow\Mvc\Routing\UriBuilder