pulkitjalan / google-apiclient

Google api php client wrapper with Cloud Platform and Laravel support
MIT License
246 stars 75 forks source link

Unable to create service object with Constructor params #33

Open nauphaltf opened 6 years ago

nauphaltf commented 6 years ago

I am unable to create a service object which accept constructor params. Please refer following example

$userPermission = new Google_Service_Drive_Permission(array(
        'type' => 'user',
        'role' => 'writer',
        'emailAddress' => 'user@example.com'
    ));

Since the make method doesn't accept any params other than service name, how can I pass constructor params and set it while creating service object ?

github-actions[bot] commented 6 days ago

This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days