AdvancedUserInterface::isEnabled()

bool isEnabled()

Checks whether the user is enabled.

Internally, if this method returns false, the authentication system will throw a DisabledException and prevent login.

Return Value

bool true if the user is enabled, false otherwise

See also

DisabledException
doc_Symfony
2016-10-28 06:05:07
Comments
Leave a Comment

Please login to continue.