CacheServiceProvider
extends ServiceProvider
in package
Class ServiceProvider
Table of Contents
- $app : App
- __construct() : mixed
- ServiceProvider constructor.
- boot() : mixed
- boot runing with application start
- register() : mixed
- register new provider
- registerApcuCache() : mixed
- Apcu cache singleton
- registerDatabaseCache() : mixed
- database cache singleton
- registerFileCache() : mixed
- file cache singleton
- registerMemcachedCache() : mixed
- memcached singleton
- registerNullCache() : mixed
- Null cache singleton
- registerRedisCache() : mixed
- Redis cache singleton
Properties
$app
protected
App
$app
Methods
__construct()
ServiceProvider constructor.
public
__construct(App $app) : mixed
Parameters
- $app : App
Return values
mixed —boot()
boot runing with application start
public
boot() : mixed
Return values
mixed —register()
register new provider
public
register() : mixed
Return values
mixed —registerApcuCache()
Apcu cache singleton
protected
registerApcuCache() : mixed
Return values
mixed —registerDatabaseCache()
database cache singleton
protected
registerDatabaseCache() : mixed
Return values
mixed —registerFileCache()
file cache singleton
protected
registerFileCache() : mixed
Return values
mixed —registerMemcachedCache()
memcached singleton
protected
registerMemcachedCache() : mixed
Return values
mixed —registerNullCache()
Null cache singleton
protected
registerNullCache() : mixed
Return values
mixed —registerRedisCache()
Redis cache singleton
protected
registerRedisCache() : mixed