class ProxyCacheFactory extends DefaultCacheFactory

Allows injection of a psr-6 proxy over an inner cache backend.

You can pass in 'disable-container' to request a raw cache in a case-by-case basis

Methods

__construct(array $args = [], LoggerInterface $logger = null)

No description

object
create(string $service, array $args = [])

No description

Details

in DefaultCacheFactory at line 41
__construct(array $args = [], LoggerInterface $logger = null)

Parameters

array $args List of global options to merge with args during create()
LoggerInterface $logger Logger instance to assign

at line 23
object create(string $service, array $args = [])

Parameters

string $service The class name of the service.
array $args

Return Value

object The created service instances.