public function changePassword($password) { $this->password = $password; $this->raise(new UserPasswordWasChanged($this)); return $this; }