| 1 | <?php |
||
| 10 | abstract class AbstractClient |
||
| 11 | { |
||
| 12 | private $arrayUtility; |
||
| 13 | |||
| 14 | |||
| 15 | /** |
||
| 16 | * @return ArrayUtility |
||
| 17 | */ |
||
| 18 | 31 | public function getArrayUtility() |
|
| 26 | |||
| 27 | /** |
||
| 28 | * @param ArrayUtility $arrayUtility |
||
| 29 | */ |
||
| 30 | 31 | public function setArrayUtility(ArrayUtility $arrayUtility) |
|
| 34 | |||
| 35 | abstract function apiCall($method, array $arguments = []); |
||
| 36 | } |
||
| 37 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.