1 | <?php |
||
9 | class CleanActivitylogCommand extends Command |
||
10 | { |
||
11 | protected $signature = 'activitylog:clean |
||
12 | {log? : (optional) The log name that will be cleaned.} |
||
13 | {--days= : (optional) Records older than this number of days will be cleaned.}'; |
||
14 | |||
15 | protected $description = 'Clean up old records from the activity log.'; |
||
16 | |||
17 | 7 | public function handle() |
|
39 | } |
||
40 |