Resource
class Resource (View source)
Implements the actual methods/resources of the discovered Google API using magic function calling overloading (__call()), which on call will see if the method name (plus.activities.list) is available in this service, and if so construct an apiHttpRequest representing it.
Methods
__construct($service, $serviceName, $resourceName, $resource)
No description
mixed|T|ResponseInterface|RequestInterface
call(string $name, array $arguments, class-string $expectedClass = null)
TODO: This function needs simplifying.
convertToArrayAndStripNulls($o)
No description
string
createRequestUri(string $restPath, array $params)
Parse/expand request parameters and create a fully qualified request uri.
Details
at line 66
__construct($service, $serviceName, $resourceName, $resource)
at line 88
mixed|T|ResponseInterface|RequestInterface
call(string $name, array $arguments, class-string $expectedClass = null)
TODO: This function needs simplifying.
at line 241
protected
convertToArrayAndStripNulls($o)
at line 262
string
createRequestUri(string $restPath, array $params)
Parse/expand request parameters and create a fully qualified request uri.