Laravel\Lumen\Providers\CacheServiceProvider::registerCommands PHP Method

registerCommands() public method

Register the cache related console commands.
public registerCommands ( ) : void
return void
    public function registerCommands()
    {
        $this->app->singleton('command.cache.clear', function ($app) {
            return new ClearCommand($app['cache']);
        });
        $this->commands('command.cache.clear');
    }
CacheServiceProvider