Esempio n. 1
0
 public function __wakeup()
 {
     if ($this->location !== null) {
         $this->location->toObject($this);
     } else {
         $this->location = new SelectData();
         $this->location->getFromObject($this);
     }
 }
Esempio n. 2
0
 public function setPlaceOfBirth(SelectData $location)
 {
     $location->toObject($this);
 }