[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
peminjaman
/
vendor
/
laravel
/
telescope
/
src
/
Console
/
[
Home
]
File: PruneCommand.php
<?php namespace Laravel\Telescope\Console; use Illuminate\Console\Command; use Laravel\Telescope\Contracts\PrunableRepository; class PruneCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'telescope:prune {--hours=24 : The number of hours to retain Telescope data}'; /** * The console command description. * * @var string */ protected $description = 'Prune stale entries from the Telescope database'; /** * Execute the console command. * * @param \Laravel\Telescope\Contracts\PrunableRepository $repository * @return void */ public function handle(PrunableRepository $repository) { $this->info($repository->prune(now()->subHours($this->option('hours'))).' entries pruned.'); } }