src/services/People.php
public static function createContact()
    {
        $person = self::getPerson();

        // New person check
        if (isset($person->resourceName)) {
            throw new Exception("You should use newPeron() before create", 500);
        }
        
        return self::getService()->people->createContact($person);
    }
public static function createContact()
    {
        $person = self::getPerson();

        // New person check
        if (isset($person->resourceName)) {
            throw new Exception("You should use newPeron() before create", 500);
        }
        
        return self::getService()->people->createContact($person);
    }
public static function createContact ( ) { $ person = self :: getPerson ( ) ; // New person check
 if ( isset ( $ person -> resourceName ) ) { throw new Exception ( "You should use newPeron() before create" , 500 ) ; } return self :: getService ( ) -> people -> createContact ( $ person ) ; }
Create a People Contact

@return Google_Service_PeopleService_Person
Create a People Contact