public function map(\Prototype\ContactInformation $contact) { $value = $this->simpleValue($this->vocabulary->attributes->phone); if (!empty($value)) { $contact->setPhone($value); } }