PHP Class Neos\Flow\Mvc\DispatchComponent

Inheritance: implements Neos\Flow\Http\Component\ComponentInterface
Mostrar archivo Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$dispatcher Dispatcher
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$options array Options of this component
$propertyMapper Neos\Flow\Property\PropertyMapper
$securityContext Neos\Flow\Security\Context

Public Methods

Method Description
__construct ( array $options = [] )
handle ( ComponentContext $componentContext ) : void Create an action request from stored route match values and dispatch to that

Protected Methods

Method Description
mergeArguments ( Request $httpRequest, array $routingMatchResults = null ) : array
parseRequestBody ( Request $httpRequest ) : array Parses the request body according to the media type.
setDefaultControllerAndActionNameIfNoneSpecified ( ActionRequest $actionRequest ) : void Set the default controller and action names if none has been specified.

Method Details

__construct() public method

public __construct ( array $options = [] )
$options array

handle() public method

Create an action request from stored route match values and dispatch to that
public handle ( ComponentContext $componentContext ) : void
$componentContext Neos\Flow\Http\Component\ComponentContext
return void

mergeArguments() protected method

protected mergeArguments ( Request $httpRequest, array $routingMatchResults = null ) : array
$httpRequest Neos\Flow\Http\Request
$routingMatchResults array
return array

parseRequestBody() protected method

Parses the request body according to the media type.
protected parseRequestBody ( Request $httpRequest ) : array
$httpRequest Neos\Flow\Http\Request
return array

setDefaultControllerAndActionNameIfNoneSpecified() protected method

Set the default controller and action names if none has been specified.
protected setDefaultControllerAndActionNameIfNoneSpecified ( ActionRequest $actionRequest ) : void
$actionRequest ActionRequest
return void

Property Details

$dispatcher protected_oe property

protected Dispatcher,Neos\Flow\Mvc $dispatcher
return Dispatcher

$objectManager protected_oe property

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
return Neos\Flow\ObjectManagement\ObjectManagerInterface

$options protected_oe property

Options of this component
protected array $options
return array

$propertyMapper protected_oe property

protected PropertyMapper,Neos\Flow\Property $propertyMapper
return Neos\Flow\Property\PropertyMapper

$securityContext protected_oe property

protected Context,Neos\Flow\Security $securityContext
return Neos\Flow\Security\Context