Пример #1
0
 /**
  * Checks whether the user is locked.
  *
  * Implements AdvancedUserInterface
  *
  * @return Boolean true if the user is not locked, false otherwise
  */
 public function isAccountNonLocked()
 {
     return !$this->user->getLocked();
 }