/** * {@inheritDoc} */ public function eraseCredentials() { parent::setPassword(null); $this->resetModified(); }
/** * @param Admin $admin The admin object to add. */ protected function doAddAdmin($admin) { $this->collAdmins[] = $admin; $admin->setProfile($this); }