CacheServiceProvider class

Cache Service Provider.

Registers the cache manager as a singleton in the service container. The cache driver is initialized automatically during the boot phase.

Inheritance

Constructors

CacheServiceProvider(MagicApp app)

Properties

app MagicApp
Reference to the application container.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

boot() Future<void>
Bootstrap any application services.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register() → void
Register any application services.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited