W3cubDocs

/Symfony 4.1

RequestContextAwareInterface

interface RequestContextAwareInterface

Methods

setContext(RequestContext $context)

Sets the request context.

RequestContext getContext()

Gets the request context.

Details

setContext(RequestContext $context)

Sets the request context.

Parameters

RequestContext $context

RequestContext getContext()

Gets the request context.

Return Value

RequestContext The context

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Routing/RequestContextAwareInterface.html