public function createContact() {
        $contact = new Contact($this->getContext());
        $this->addChild($contact);
        $qry = new CreateEntityQuery($contact);
        $this->getContext()->addQuery($qry, $contact);
        return $contact;
    }
public function createContact() {
        $contact = new Contact($this->getContext());
        $this->addChild($contact);
        $qry = new CreateEntityQuery($contact);
        $this->getContext()->addQuery($qry, $contact);
        return $contact;
    }
public function createContact ( ) { $ contact = new Contact ( $ this -> getContext ( ) ) ; $ this -> addChild ( $ contact ) ; $ qry = new CreateEntityQuery ( $ contact ) ; $ this -> getContext ( ) -> addQuery ( $ qry , $ contact ) ; return $ contact ; }
Creates Contact resource
@return Contact
Creates Contact resource