| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function getClient(): SyncWebServiceClientInterface |
||
| 39 | { |
||
| 40 | if ($this->client === null) { |
||
| 41 | // TODO refactor to use configuration |
||
| 42 | $factory = ReflectUtil::instantiate(ProcessEngineConfigurationImpl::DEFAULT_WS_SYNC_FACTORY); |
||
|
|
|||
| 43 | $this->client = $factory->create($this->wsdlLocation); |
||
| 44 | } |
||
| 45 | return $this->client; |
||
| 46 | } |
||
| 58 |