| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | protected function configure() |
||
| 22 | { |
||
| 23 | $this |
||
| 24 | ->setName('tus:expired') |
||
| 25 | ->setDescription('Remove expired uploads.') |
||
| 26 | ->setHelp('Deletes all expired uploads to free server resources. Values can be redis, file or apcu. Defaults to file.') |
||
| 27 | ->addArgument( |
||
| 28 | 'cache-adapter', |
||
| 29 | InputArgument::OPTIONAL, |
||
| 30 | 'Cache adapter to use: redis, file or apcu', |
||
| 31 | 'file' |
||
| 32 | ) |
||
| 33 | ->addOption( |
||
| 34 | 'config', |
||
| 35 | 'c', |
||
| 36 | InputArgument::OPTIONAL, |
||
| 37 | 'File to get config parameters from.' |
||
| 38 | ); |
||
| 77 |