| 1 | <?php |
||
| 7 | abstract class AbstractDecorator implements WebServiceInterface |
||
| 8 | { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @WebServiceInterface |
||
| 12 | */ |
||
| 13 | protected $webService; |
||
| 14 | |||
| 15 | |||
| 16 | /** |
||
| 17 | * @inheritdoc |
||
| 18 | */ |
||
| 19 | abstract public function call($functionName, array $arguments = []); |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @inheritdoc |
||
| 23 | */ |
||
| 24 | 1 | public function __call($functionName, $arguments) |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @inheritdoc |
||
| 31 | */ |
||
| 32 | public function subscribe($eventName, callable $callback) |
||
| 36 | } |
||
| 37 |