public function contacts(array $contact)
    {
        if (! isset($this->data->contacts)) {
            $this->data->contacts = [];
        }

        return $this->data->contacts[] = (object) $contact;
    }
public function contacts(array $contact)
    {
        if (! isset($this->data->contacts)) {
            $this->data->contacts = [];
        }

        return $this->data->contacts[] = (object) $contact;
    }
public function contacts ( array $ contact ) { if ( ! isset ( $ this -> data -> contacts ) ) { $ this -> data -> contacts = [ ] ; } return $ this -> data -> contacts [ ] = ( object ) $ contact ; }
Put a contact on person data

@param array $contact
@return object
Put a contact on person data