public function hashPassword(User $user) { $hashed = $this->hasher->hash($user->getPassword()); $user->setPassword($hashed); }
public function getPassword() { $this->__load(); return parent::getPassword(); }