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