PHP Trait Contao\CoreBundle\EventListener\UserAwareTrait

Deprecation: Deprecated since Contao 4.3, to be removed in Contao 5.0
Afficher le fichier Open project: contao/core-bundle

Protected Properties

Свойство Type Description
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface

Méthodes publiques

Méthode Description
setTokenStorage ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage ) Sets the token storage object.

Méthodes protégées

Méthode Description
hasUser ( ) : boolean Checks if there is an authenticated user.

Method Details

hasUser() protected méthode

Checks if there is an authenticated user.
protected hasUser ( ) : boolean
Résultat boolean

setTokenStorage() public méthode

Sets the token storage object.
public setTokenStorage ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage )
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface

Property Details

$tokenStorage protected_oe property

protected TokenStorageInterface,Symfony\Component\Security\Core\Authentication\Token\Storage $tokenStorage
Résultat Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface