Ejemplo n.º 1
0
 /**
  * Handle a command.updatecache event.
  *
  * @param \Illuminate\Console\Command $command
  *
  * @return void
  */
 public function onUpdateCache(Command $command)
 {
     $command->line('Regenerating page cache...');
     $this->pagerepository->refresh();
     $command->info('Page cache regenerated!');
 }