EasyCorp\Bundle\EasySecurityBundle\Security\Security::isAuthenticated PHP Метод

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

Returns true if the current application user (or the optionally given user) is authenticated in any way (because they have introduced their credentials (username and password) or they have been remembered).
public isAuthenticated ( null $user = null ) : boolean
$user null
Результат boolean
    public function isAuthenticated($user = null)
    {
        $user = $user ?: $this->getUser();
        return $this->isGranted('IS_AUTHENTICATED_FULLY', $user) || $this->isGranted('IS_AUTHENTICATED_REMEMBERED', $user);
    }