google-apiclient
google-apiclient copied to clipboard
Unable to create service object with Constructor params
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' => '[email protected]'
));
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 ?
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