class PhpBackendFactory implements CacheFactoryInterface (View source)

Properties

protected CacheTagsChecksumInterface $checksumProvider

The cache tags checksum provider.

Methods

__construct(CacheTagsChecksumInterface $checksum_provider)

Constructs a PhpBackendFactory object.

get(string $bin)

Gets PhpBackend for the specified cache bin.

Details

__construct(CacheTagsChecksumInterface $checksum_provider)

Constructs a PhpBackendFactory object.

Parameters

CacheTagsChecksumInterface $checksum_provider

The cache tags checksum provider.

CacheBackendInterface get(string $bin)

Gets PhpBackend for the specified cache bin.

Parameters

string $bin

The cache bin for which a cache backend object should be returned.

Return Value

CacheBackendInterface

The cache backend object associated with the specified bin.