Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
39 | public function execute(InputInterface $input, OutputInterface $output) |
||
40 | { |
||
41 | $this->configuration->setStatus($input->getOption('behapi-debug')); |
||
42 | |||
43 | if (true === $this->configuration->getStatus()) { |
||
44 | // disable all formatters, enable only the pretty one |
||
45 | $this->manager->disableAllFormatters(); |
||
46 | $this->manager->enableFormatter($this->formatter); |
||
47 | } |
||
48 | } |
||
49 | } |
||
50 |