ManifestCacheFactory
class ManifestCacheFactory extends DefaultCacheFactory (View source)
Assists with building of manifest cache prior to config being available
Properties
protected | string | $args | from DefaultCacheFactory | |
protected | LoggerInterface | $logger | from DefaultCacheFactory |
Methods
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.
Create cache directly without config / injector
Details
__construct(array $args = [], LoggerInterface $logger = null)
No description
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.
protected bool
isAPCUSupported()
Determine if apcu is supported
protected bool
isPHPFilesSupported()
Determine if PHP files is supported
CacheInterface
createCache(string $class, array $args)
Create cache directly without config / injector