FOS\UserBundle\Templating\Helper\SecurityHelper::isAuthenticated PHP Méthode

isAuthenticated() public méthode

Tell whether or not a user is logged in
public isAuthenticated ( ) : boolean
Résultat boolean
    public function isAuthenticated()
    {
        return null !== $this->context->getToken();
    }