PHP Класс Neos\Flow\Mvc\DispatchComponent

Наследование: implements Neos\Flow\Http\Component\ComponentInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$dispatcher Dispatcher
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$options array Options of this component
$propertyMapper Neos\Flow\Property\PropertyMapper
$securityContext Neos\Flow\Security\Context

Открытые методы

Метод Описание
__construct ( array $options = [] )
handle ( ComponentContext $componentContext ) : void Create an action request from stored route match values and dispatch to that

Защищенные методы

Метод Описание
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.

Описание методов

__construct() публичный Метод

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

handle() публичный Метод

Create an action request from stored route match values and dispatch to that
public handle ( ComponentContext $componentContext ) : void
$componentContext Neos\Flow\Http\Component\ComponentContext
Результат void

mergeArguments() защищенный Метод

protected mergeArguments ( Request $httpRequest, array $routingMatchResults = null ) : array
$httpRequest Neos\Flow\Http\Request
$routingMatchResults array
Результат array

parseRequestBody() защищенный Метод

Parses the request body according to the media type.
protected parseRequestBody ( Request $httpRequest ) : array
$httpRequest Neos\Flow\Http\Request
Результат array

setDefaultControllerAndActionNameIfNoneSpecified() защищенный Метод

Set the default controller and action names if none has been specified.
protected setDefaultControllerAndActionNameIfNoneSpecified ( ActionRequest $actionRequest ) : void
$actionRequest ActionRequest
Результат void

Описание свойств

$dispatcher защищенное свойство

protected Dispatcher,Neos\Flow\Mvc $dispatcher
Результат Dispatcher

$objectManager защищенное свойство

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
Результат Neos\Flow\ObjectManagement\ObjectManagerInterface

$options защищенное свойство

Options of this component
protected array $options
Результат array

$propertyMapper защищенное свойство

protected PropertyMapper,Neos\Flow\Property $propertyMapper
Результат Neos\Flow\Property\PropertyMapper

$securityContext защищенное свойство

protected Context,Neos\Flow\Security $securityContext
Результат Neos\Flow\Security\Context