| Conditions | 3 |
| Paths | 4 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function import($config) |
||
| 34 | { |
||
| 35 | $params = []; |
||
| 36 | foreach ($config instanceof \carono\etxtru\ConfigAbstract ? $config->toArray() : $config as $key => $value) { |
||
| 37 | $params[$key] = $value; |
||
| 38 | } |
||
| 39 | return $this->getClient()->getContent('correction.import', $params, 'carono\etxtru\response\ImportResponse'); |
||
| 40 | } |
||
| 42 |