| Total Complexity | 2 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class Provider implements ProviderInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var ExecutorInterface |
||
| 15 | */ |
||
| 16 | private $executor; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var \Xervice\Shell\Business\Command\ConverterInterface |
||
| 20 | */ |
||
| 21 | private $conveter; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Provider constructor. |
||
| 25 | * |
||
| 26 | * @param \Xervice\Shell\Business\Executor\ExecutorInterface $executor |
||
| 27 | * @param \Xervice\Shell\Business\Command\ConverterInterface $conveter |
||
| 28 | */ |
||
| 29 | 1 | public function __construct( |
|
| 35 | 1 | } |
|
| 36 | |||
| 37 | |||
| 38 | /** |
||
| 39 | * @param string $command |
||
| 40 | * @param mixed ...$params |
||
| 41 | * |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | 1 | public function execute(string $command, ...$params): string |
|
| 50 | } |