| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class CheckRetentionCommand extends Command |
||
| 12 | { |
||
| 13 | protected $signature = 'geld:retention'; |
||
| 14 | |||
| 15 | protected $description = 'Soft deletes records older than the retention period config value'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * CheckRetentionCommand constructor. |
||
| 19 | */ |
||
| 20 | 15 | public function __construct() |
|
| 23 | 15 | } |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @throws Exception |
||
| 27 | */ |
||
| 28 | 6 | public function handle() |
|
| 40 |