Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | trait InstantiatorTrait |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * Generic method to object getter. Since all objects are protected, this |
||
15 | * method exposes a getter function with the same name as the protected |
||
16 | * variable, for example |
||
17 | * $plaid->auth can be referenced by $client->tickets() |
||
18 | * |
||
19 | * @param $method |
||
20 | * @param $arguments |
||
21 | * |
||
22 | * @return mixed |
||
23 | * @throws \Exception |
||
24 | */ |
||
25 | public function __call($method, $arguments) |
||
37 |