public function __construct()
 {
     parent::__construct();
     $this->setPassword('');
 }
 /**
  * @param \Cowtent\AccountBundle\Entity\AbstractUser|null $user
  *
  * @return bool
  */
 public function isUser(AbstractUser $user = null)
 {
     return null !== $user && $this->getId() === $user->getId();
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
 }