| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 10 | final class LoadFixturesCommand extends Command |
||
| 11 | { |
||
| 12 | public const COMMAND_NAME = 'app:load-fixtures'; |
||
| 13 | |||
| 14 | /** @var FixtureLoader */ |
||
| 15 | private $loader; |
||
| 16 | |||
| 17 | public function __construct(FixtureLoader $loader) |
||
| 18 | { |
||
| 19 | $this->loader = $loader; |
||
| 20 | parent::__construct(); |
||
| 21 | } |
||
| 22 | |||
| 23 | protected function configure() |
||
| 24 | { |
||
| 25 | $this |
||
| 26 | ->setName(self::COMMAND_NAME) |
||
| 27 | ->setDescription('Loads the database fixtures') |
||
| 28 | ; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
||
| 33 | */ |
||
| 34 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 37 | } |
||
| 38 | } |
||
| 39 |