| 1 | <?php |
||
| 10 | class ClientCreator |
||
| 11 | { |
||
| 12 | const WSDL_PATH = '/nl/jsp/schemawsdl.jsp?schema=%s&__sessiontoken=%s'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var ConfigurationProvider |
||
| 16 | */ |
||
| 17 | private $configurationProvider; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var ClientInstantiator |
||
| 21 | */ |
||
| 22 | private $clientInstantiator; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param ConfigurationProvider $configurationProvider |
||
| 26 | * @param ClientInstantiator $clientInstantiator |
||
| 27 | */ |
||
| 28 | 1 | public function __construct(ConfigurationProvider $configurationProvider, ClientInstantiator $clientInstantiator) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * Build a Client based on a schema name |
||
| 36 | * |
||
| 37 | * @param string $schema |
||
| 38 | * |
||
| 39 | * @return Client |
||
| 40 | */ |
||
| 41 | 1 | public function create($schema) |
|
| 58 | } |
||
| 59 |