Contao\CoreBundle\EventListener\UserSessionListener::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( Symfony\Component\HttpFoundation\Session\SessionInterface $session, Doctrine\DBAL\Connection $connection, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface $authenticationTrustResolver )
$session Symfony\Component\HttpFoundation\Session\SessionInterface
$connection Doctrine\DBAL\Connection
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
$authenticationTrustResolver Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface
    public function __construct(SessionInterface $session, Connection $connection, TokenStorageInterface $tokenStorage, AuthenticationTrustResolverInterface $authenticationTrustResolver)
    {
        $this->session = $session;
        $this->connection = $connection;
        $this->tokenStorage = $tokenStorage;
        $this->authenticationTrustResolver = $authenticationTrustResolver;
    }