FOS\UserBundle\Templating\Helper\SecurityHelper::isAuthenticated PHP Method

isAuthenticated() public method

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