public function loadData(User $user) { $this->setFirstname($user->getFirstname()); $this->setSurname($user->getSurname()); $this->setBirthday($user->getBirthday()); $this->setCountry($user->getCountry()); return $this; }
public function loadData(User $user) { $this->setFirstname($user->getFirstname()); $this->setSurname($user->getSurname()); $this->setBirthday($user->getBirthday()); $this->setCountry($user->getCountry()); return $this; }