[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/vendor/symfony/twig-bridge/ -> AppVariable.php (summary)

(no description)

File Size: 172 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

AppVariable:: (11 methods):

Class: AppVariable  - X-Ref

Exposes some Symfony parameters and services as an "app" global variable.

setContainer(ContainerInterface $container)   X-Ref

setTokenStorage(TokenStorageInterface $tokenStorage)   X-Ref
No description

setRequestStack(RequestStack $requestStack)   X-Ref
No description

setEnvironment($environment)   X-Ref
No description

setDebug($debug)   X-Ref
No description

getSecurity()   X-Ref
Returns the security context service.

return: SecurityContext|null The security context

getUser()   X-Ref
Returns the current user.

return: mixed

getRequest()   X-Ref
Returns the current request.

return: Request|null The HTTP request object

getSession()   X-Ref
Returns the current session.

return: Session|null The session

getEnvironment()   X-Ref
Returns the current app environment.

return: string The current environment string (e.g 'dev')

getDebug()   X-Ref
Returns the current app debug mode.

return: bool The current debug mode

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1