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(); }
public function __construct() { parent::__construct(); }