| Total Complexity | 2 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class FastRouteCacheCommand extends Command |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected static $defaultName = 'daft-framework:router:update-cache'; |
||
| 20 | |||
| 21 | 2 | public function configure() : void |
|
| 22 | { |
||
| 23 | 2 | $this->setDescription( |
|
| 24 | 2 | 'Update the cache used by the daft framework router' |
|
| 25 | 2 | )->addArgument( |
|
| 26 | 2 | 'sources', |
|
| 27 | 2 | InputArgument::REQUIRED | InputArgument::IS_ARRAY, |
|
| 28 | 2 | 'class names for sources' |
|
| 29 | ); |
||
| 30 | 2 | } |
|
| 31 | |||
| 32 | 2 | public function execute(InputInterface $input, OutputInterface $output) : int |
|
| 51 | } |
||
| 52 | } |
||
| 53 |