| 1 | <?php |
||
| 15 | final class DebugController implements Controller |
||
| 16 | { |
||
| 17 | /** @var Debug */ |
||
| 18 | private $debug; |
||
| 19 | |||
| 20 | /** @var OutputManager */ |
||
| 21 | private $manager; |
||
| 22 | |||
| 23 | /** @var string Formatter's name to use on debug occasions */ |
||
| 24 | private $formatter; |
||
| 25 | |||
| 26 | public function __construct(OutputManager $manager, Debug $debug, string $formatter = 'pretty') |
||
| 32 | |||
| 33 | /** {@inheritDoc} */ |
||
| 34 | public function configure(Command $command) |
||
| 39 | |||
| 40 | /** {@inheritDoc} */ |
||
| 41 | public function execute(InputInterface $input, OutputInterface $output) |
||
| 51 | } |
||
| 52 |