| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 16 | public function __construct(string $userToken, CacheInterface $cache, $debug = false) |
||
| 17 | { |
||
| 18 | $this->storage = $cache; |
||
| 19 | $this->userToken = $userToken; |
||
| 20 | $this->client = new SoapClient( |
||
| 21 | $this->wsdl, |
||
| 22 | [ |
||
| 23 | 'trace' => $debug, |
||
| 24 | 'stream_context' => stream_context_create(['http' => ['header' => $this->getHeaderString()]]) |
||
| 25 | ] |
||
| 44 |