예제 #1
0
파일: User.php 프로젝트: rmatil/angular-cms
 public function update(User $user)
 {
     $this->setUserGroup($user->getUserGroup());
     $this->setUserName($user->getUserName());
     $this->setFirstName($user->getFirstName());
     $this->setLastName($user->getLastName());
     $this->setEmail($user->getEmail());
     $this->setPhoneNumber($user->getPhoneNumber());
     $this->setMobileNumber($user->getMobileNumber());
     $this->setAddress($user->getAddress());
     $this->setZipCode($user->getZipCode());
     $this->setPlace($user->getPlace());
     $this->setPlainPassword($user->getPlainPassword());
     $this->setPasswordHash($user->getPasswordHash());
     $this->setLastLoginDate($user->getLastLoginDate());
     $this->setRegistrationDate($user->getRegistrationDate());
     $this->setIsLocked($user->getIsLocked());
     $this->setIsLockedBy($user->getIsLockedBy());
 }