| [ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 180 lines (5 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
AppVariable:: (11 methods):
setTokenStorage()
setRequestStack()
setEnvironment()
setDebug()
getToken()
getUser()
getRequest()
getSession()
getEnvironment()
getDebug()
getFlashes()
Class: AppVariable - X-Ref
Exposes some Symfony parameters and services as an "app" global variable.| 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 |
| getToken() X-Ref |
| Returns the current token. return: TokenInterface|null |
| getUser() X-Ref |
| Returns the current user. return: object|null |
| 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 |
| getFlashes($types = null) X-Ref |
| Returns some or all the existing flash messages: * getFlashes() returns all the flash messages * getFlashes('notice') returns a simple array with flash messages of that type * getFlashes(['notice', 'error']) returns a nested array of type => messages. return: array |
| Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |