ActionRequestFactory
class ActionRequestFactory (View source)
Creates an ActionRequest from a PSR-7 http request and sets appropriate defaults.
Methods
createActionRequest(ServerRequestInterface $httpRequest, array $additionalArguments = [])
No description
array
mergeHttpRequestArguments(ServerRequestInterface $httpRequest)
No description
array
mergeHttpRequestArgumentsWithAdditionalArguments(array $arguments, array $additionalArguments)
No description
prepareActionRequest(ServerRequestInterface $httpRequest)
No description
setDefaultControllerAndActionNameIfNoneSpecified(ActionRequest $actionRequest)
Set the default controller and action names if none has been specified.
Details
ActionRequest
createActionRequest(ServerRequestInterface $httpRequest, array $additionalArguments = [])
No description
protected array
mergeHttpRequestArguments(ServerRequestInterface $httpRequest)
No description
protected array
mergeHttpRequestArgumentsWithAdditionalArguments(array $arguments, array $additionalArguments)
No description
protected ActionRequest
prepareActionRequest(ServerRequestInterface $httpRequest)
No description
protected ActionRequest
setDefaultControllerAndActionNameIfNoneSpecified(ActionRequest $actionRequest)
Set the default controller and action names if none has been specified.