Свойство | Тип | Описание | |
---|---|---|---|
$container |
Метод | Описание | |
---|---|---|
__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 | ||
Результат | string | The current environment string (e.g 'dev') |
public getRequest ( ) : |
||
Результат | The HTTP request object |
public getSession ( ) : Symfony\Component\HttpFoundation\Session\Session | null | ||
Результат | Symfony\Component\HttpFoundation\Session\Session | null | The session |