fluxbb\cache\CacheServiceProvider::register PHP Method

register() public method

Register the service provider.
public register ( ) : void
return void
    public function register()
    {
        $this->app->singleton('cache.store', function () {
            $files = $this->app->make('files');
            $path = $this->app->make('path.cache');
            return new Repository(new FileStore($files, $path));
        });
        $this->app->alias('cache.store', 'Illuminate\\Contracts\\Cache\\Repository');
    }
CacheServiceProvider