Property | Type | Description | |
---|---|---|---|
$container |
Method | Description | |
---|---|---|
__construct ( Symfony\Component\DependencyInjection\ContainerInterface $container ) | ||
getDebug ( ) : boolean | ||
getEnvironment ( ) : string | ||
getRequest ( ) : |
||
getSession ( ) : Symfony\Component\HttpFoundation\Session\Session | null | ||
getToken ( ) : Symfony\Component\Security\Core\Authentication\Token\TokenInterface | null | ||
getUser ( ) |
public __construct ( Symfony\Component\DependencyInjection\ContainerInterface $container ) | ||
$container | Symfony\Component\DependencyInjection\ContainerInterface | The DI container |
public getEnvironment ( ) : string | ||
return | string | The current environment string (e.g 'dev') |
public getRequest ( ) : |
||
return | The HTTP request object |
public getSession ( ) : Symfony\Component\HttpFoundation\Session\Session | null | ||
return | Symfony\Component\HttpFoundation\Session\Session | null | The session |