Symfony\Component\Security\Core\User\AdvancedUserInterface::isEnabled
Checks whether the user is enabled.
Internally, if this method returns false, the authentication system will throw a DisabledException and prevent login.
Signature
public function isEnabled()
Returns
- Boolean
- true if the user is enabled, false otherwise