public function __construct() { $this->physical_address = new ContactInfo\PhysicalAddress(); $this->phone_number = new \Variable\String(null, 'phone_number'); $this->fax_number = new \Variable\String(null, 'phone_number'); $this->fax_number->allowEmpty(true); $this->social = new ContactInfo\Social(); $this->map = new ContactInfo\Map(); $this->email = new \Variable\Email(null, 'email'); $this->email->allowNull(true); }