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

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

Returns true if the current application user (or the optionally given user) is remembered. This behaves differently than Symfony built-in methods and it returns true only when the user is really remembered and they haven't introduced their credentials (username and password).
public isRemembered ( null $user = null ) : boolean
$user null
Результат boolean
    public function isRemembered($user = null)
    {
        $user = $user ?: $this->getUser();
        if ($this->isFullyAuthenticated($user)) {
            return false;
        }
        return $this->isGranted('IS_AUTHENTICATED_REMEMBERED', $user);
    }