| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | final class ShipmentsCommand extends \ParcelValue\ApiClient\AbstractController |
||
| 7 | { |
||
| 8 | protected $logger; |
||
| 9 | protected $curlBrowser; |
||
| 10 | |||
| 11 | public function __construct() |
||
| 12 | { |
||
| 13 | parent::__construct(); |
||
| 14 | |||
| 15 | $this->repository = new ShipmentsRepository($this->outputLoader); |
||
| 16 | |||
| 17 | $this->logger = new \WebServCo\Framework\FileLogger( |
||
| 18 | __FUNCTION__, |
||
| 19 | sprintf('%svar/log/', $this->data('path/project')), |
||
|
|
|||
| 20 | $this->request() |
||
| 21 | ); |
||
| 22 | $this->curlBrowser = new \WebServCo\Framework\CurlBrowser($this->logger); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function test($clientId, $clientKey, $serverKey) |
||
| 35 | } |
||
| 36 | } |
||
| 37 |