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.
Properties
protected string | $apiVersion |
Methods
__construct($service, $serviceName, $resourceName, $resource)
No description
mixed|T|ResponseInterface|RequestInterface
call(string $name, array $arguments, T> $expectedClass = null)
TODO: This function needs simplifying.
convertToArrayAndStripNulls($o)
No description
static string
createRequestUri(string $restPath, array $params)
Parse/expand request parameters and create a fully qualified request uri.
Details
__construct($service, $serviceName, $resourceName, $resource)
No description
mixed|T|ResponseInterface|RequestInterface
call(string $name, array $arguments, T> $expectedClass = null)
TODO: This function needs simplifying.
protected
convertToArrayAndStripNulls($o)
No description
static string
createRequestUri(string $restPath, array $params)
Parse/expand request parameters and create a fully qualified request uri.