Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
60 | protected function execute(InputInterface $input, OutputInterface $output) |
||
61 | { |
||
62 | $symfonyOutput = new SymfonyOutput($output); |
||
63 | |||
64 | $this->getMigrator($symfonyOutput)->refresh(); |
||
65 | |||
66 | if ($input->getOption('seed')) { |
||
67 | $seedRunner = new SeedRunner($symfonyOutput); |
||
68 | |||
69 | $seedRunner->run($input->getOption('class')); |
||
70 | } |
||
71 | } |
||
72 | } |
||
73 |