PHP Trait Zendesk\API\Traits\Utility\InstantiatorTrait

Show file Open project: zendesk/zendesk_api_client_php

Public Methods

Method Description
__call ( $name, $arguments ) : ChainedParametersTrait Generic method to object getter. Since all objects are protected, this method exposes a getter function with the same name as the protected variable, for example $client->tickets can be referenced by $client->tickets()

Method Details

__call() public method

Generic method to object getter. Since all objects are protected, this method exposes a getter function with the same name as the protected variable, for example $client->tickets can be referenced by $client->tickets()
public __call ( $name, $arguments ) : ChainedParametersTrait
$name
$arguments
return ChainedParametersTrait