Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | 14 | protected function configure() |
|
23 | { |
||
24 | $this |
||
25 | // the name of the command (the part after "bin/bluzman") |
||
26 | 14 | ->setName('db:seed:run') |
|
27 | // the short description shown while running "php bin/bluzman list" |
||
28 | 14 | ->setDescription('Run seed file(s)') |
|
29 | // the full command description shown when running the command with |
||
30 | // the "--help" option |
||
31 | 14 | ->setHelp('This command is shorthand to phinx tool') |
|
32 | ; |
||
33 | |||
34 | 14 | $name = new InputArgument('--seed', InputArgument::OPTIONAL | InputArgument::IS_ARRAY, 'Seed name(s) to run'); |
|
35 | 14 | $this->getDefinition()->addArgument($name); |
|
36 | 14 | } |
|
37 | } |
||
38 |