Conditions | 3 |
Paths | 3 |
Total Lines | 14 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
54 | protected function setWSDL($wsdl) |
||
55 | { |
||
56 | // Initialize SOAP manager with predefined values from configuration. |
||
57 | foreach (['options', 'namespaces'] as $param) { |
||
58 | $method = 'set' . ucfirst($param); |
||
59 | |||
60 | // Unset all options and namespaces and initialize them from config. |
||
61 | foreach ([null, $this->getSoapParameter($param)] as $value) { |
||
62 | call_user_func([$this, $method], $value); |
||
63 | } |
||
64 | } |
||
65 | |||
66 | $this->soapWSDL($wsdl); |
||
67 | } |
||
68 | } |
||
69 |