PHP Class Neos\Flow\Mvc\DispatchComponent

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

Protected Properties

Свойство 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

Méthodes publiques

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

Méthodes protégées

Méthode 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 méthode

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

handle() public méthode

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

mergeArguments() protected méthode

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

parseRequestBody() protected méthode

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

setDefaultControllerAndActionNameIfNoneSpecified() protected méthode

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

Property Details

$dispatcher protected_oe property

protected Dispatcher,Neos\Flow\Mvc $dispatcher
Résultat Dispatcher

$objectManager protected_oe property

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
Résultat Neos\Flow\ObjectManagement\ObjectManagerInterface

$options protected_oe property

Options of this component
protected array $options
Résultat array

$propertyMapper protected_oe property

protected PropertyMapper,Neos\Flow\Property $propertyMapper
Résultat Neos\Flow\Property\PropertyMapper

$securityContext protected_oe property

protected Context,Neos\Flow\Security $securityContext
Résultat Neos\Flow\Security\Context