This commit is contained in:
Graham Campbell
2016-05-25 09:49:48 +01:00
parent d0afcbffe4
commit ebaf4e9395

View File

@@ -65,7 +65,7 @@ class CommandSubscriber
*
* @return void
*/
public function fire(Command $command)
public function backup(Command $command)
{
$command->line('Backing up database...');
@@ -84,4 +84,20 @@ class CommandSubscriber
$command->line('Backup completed!');
}
/**
* Clear the cachet settings cache.
*
* @param \Illuminate\Console\Command $command
*
* @return void
*/
public function clear(Command $command)
{
$command->line('Clearing settings cache...');
$this->loader->clear();
$command->line('Settings cache cleared!');
}
}