| 1 | <?php |
||
| 9 | final class WebServiceFactory implements WebServiceFactoryInterface |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string Třída webové služby |
||
| 14 | */ |
||
| 15 | private $class; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var EventDispatcherInterface|null |
||
| 19 | */ |
||
| 20 | private $eventDispatcher; |
||
| 21 | |||
| 22 | |||
| 23 | /** |
||
| 24 | * @param string $className Constructor must accept SoapClient, SOAP options array and EventDispatcherInterface |
||
| 25 | */ |
||
| 26 | 5 | public function __construct( |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @inheritdoc |
||
| 40 | */ |
||
| 41 | 3 | public function createWebService(string $url, array $options): WebServiceInterface |
|
| 50 | } |
||
| 51 |