Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
14 | class Save extends Command |
||
15 | { |
||
16 | protected function configure() |
||
17 | { |
||
18 | $this->setName('revision:save') |
||
19 | ->addArgument('revisionTitle', Argument::REQUIRED, "Revision title") |
||
20 | ->addArgument('tableName', Argument::REQUIRED, "Table name") |
||
21 | ->addArgument('originalId', Argument::REQUIRED, "Original id") |
||
22 | ->setDescription('Save a revision of a specific record of a table'); |
||
23 | } |
||
24 | |||
25 | protected function execute(Input $input, Output $output) |
||
39 | } |
||
40 | } |
||
42 |