ControllerContext
The controller context contains information from the controller
since v11, will be removed with v12
Table of Contents
Properties
- $arguments : Arguments
- $extensionService : ExtensionService
- $flashMessageQueueDefaultIdentifier : string
- $flashMessageService : FlashMessageService
- $request : Request
- $uriBuilder : UriBuilder
Methods
- getArguments() : Arguments
- Get the arguments of the controller
- getFlashMessageQueue() : FlashMessageQueue
- getRequest() : Request
- Get the request of the controller
- getUriBuilder() : UriBuilder
- injectExtensionService() : mixed
- injectFlashMessageService() : mixed
- setArguments() : mixed
- Set the arguments of the controller
- setRequest() : mixed
- Set the request of the controller
- setUriBuilder() : mixed
Properties
$arguments
protected
Arguments
$arguments
$extensionService
protected
ExtensionService
$extensionService
$flashMessageQueueDefaultIdentifier
protected
string
$flashMessageQueueDefaultIdentifier
$flashMessageService
protected
FlashMessageService
$flashMessageService
$request
protected
Request
$request
$uriBuilder
protected
UriBuilder
$uriBuilder
Methods
getArguments()
Get the arguments of the controller
public
getArguments() : Arguments
Return values
ArgumentsgetFlashMessageQueue()
public
getFlashMessageQueue([string $identifier = null ]) : FlashMessageQueue
since v11, will be removed in v12
Parameters
- $identifier : string = null
-
Queue-identifier
Return values
FlashMessageQueuegetRequest()
Get the request of the controller
public
getRequest() : Request
Return values
RequestgetUriBuilder()
public
getUriBuilder() : UriBuilder
since v11, will be removed in v12
Return values
UriBuilderinjectExtensionService()
public
injectExtensionService(ExtensionService $extensionService) : mixed
Parameters
- $extensionService : ExtensionService
injectFlashMessageService()
public
injectFlashMessageService(FlashMessageService $flashMessageService) : mixed
Parameters
- $flashMessageService : FlashMessageService
setArguments()
Set the arguments of the controller
public
setArguments(Arguments $arguments) : mixed
Parameters
- $arguments : Arguments
setRequest()
Set the request of the controller
public
setRequest(Request $request) : mixed
Parameters
- $request : Request
setUriBuilder()
public
setUriBuilder(UriBuilder $uriBuilder) : mixed
Parameters
- $uriBuilder : UriBuilder