CacheFactory
interface CacheFactory implements Factory (View source)
Methods
public
object
create(string $service, array $params = [])
Note: While the returned object is used as a singleton (by the originating Injector->get() call), this cache object shouldn't be a singleton itself - it has varying constructor args for the same service name.
Details
object
create(string $service, array $params = [])
Note: While the returned object is used as a singleton (by the originating Injector->get() call), this cache object shouldn't be a singleton itself - it has varying constructor args for the same service name.