| 1 | <?php declare(strict_types=1); |
||
| 13 | final class CliController implements Controller |
||
| 14 | { |
||
| 15 | /** @var Configuration */ |
||
| 16 | private $configuration; |
||
| 17 | |||
| 18 | /** @var OutputManager */ |
||
| 19 | private $manager; |
||
| 20 | |||
| 21 | /** @var string Formatter's name to use on debug occasions */ |
||
| 22 | private $formatter; |
||
| 23 | |||
| 24 | public function __construct(OutputManager $manager, Configuration $configuration, string $formatter = 'pretty') |
||
| 30 | |||
| 31 | /** {@inheritDoc} */ |
||
| 32 | public function configure(Command $command) |
||
| 37 | |||
| 38 | /** {@inheritDoc} */ |
||
| 39 | public function execute(InputInterface $input, OutputInterface $output) |
||
| 49 | } |
||
| 50 |