/**
  * @param mixed $person
  *
  * @throws \LogicException
  * @return PhoneNumber
  */
 public function setPerson(Person $person)
 {
     if ($this->person !== null && $this->person->getId() != $person->getId()) {
         throw new \LogicException('This phone number is already linked to a person');
     }
     $this->person = $person;
     return $this;
 }