PHP Interface Neos\Flow\Mvc\RequestInterface

Mostrar archivo Open project: neos/flow-development-collection Interface Usage Examples

Public Methods

Method Description
getControllerObjectName ( ) : string Returns the object name of the controller which is supposed to process the request.
getMainRequest ( ) : Neos\Flow\Mvc\RequestInterface Returns the top level Request: the one just below the HTTP request
isDispatched ( ) : boolean If this request has been dispatched and addressed by the responsible controller and the response is ready to be sent.
isMainRequest ( ) : boolean Checks if this request is the uppermost ActionRequest, just one below the HTTP request.
setDispatched ( boolean $flag ) : void Sets the dispatched flag

Method Details

getControllerObjectName() public method

Returns the object name of the controller which is supposed to process the request.
public getControllerObjectName ( ) : string
return string The controller's object name

getMainRequest() public method

Returns the top level Request: the one just below the HTTP request
public getMainRequest ( ) : Neos\Flow\Mvc\RequestInterface
return Neos\Flow\Mvc\RequestInterface

isDispatched() public method

The dispatcher will try to dispatch the request again if it has not been addressed yet.
public isDispatched ( ) : boolean
return boolean TRUE if this request has been dispatched successfully

isMainRequest() public method

Checks if this request is the uppermost ActionRequest, just one below the HTTP request.
public isMainRequest ( ) : boolean
return boolean

setDispatched() public method

Sets the dispatched flag
public setDispatched ( boolean $flag ) : void
$flag boolean If this request has been dispatched
return void