com\setasign\SetaFramework\SimpleCache

FastCacheBuilder Class FastCacheBuilder

File: /SetaFramework/src/SimpleCache/FastCacheBuilder.php

Class hierarchy

Implements

Summary

Properties

$cacheHandlerConfig

$instances

protected \Psr\SimpleCache\CacheInterface[] FastCacheBuilder::$instances = array()

Methods

__construct()

FastCacheBuilder constructor.

Parameters
$cacheHandlerConfig : ?\com\setasign\SetaFramework\Config\Config
 
Exceptions

Throws \Phpfastcache\Exceptions\PhpfastcacheInvalidArgumentException

Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException

Throws \Phpfastcache\Exceptions\PhpfastcacheUnsupportedOperationException

__destruct()

public FastCacheBuilder::__destruct (
void
): void

getAvailableCacheHandlers()

Return all available cache handlers.

setupCache()

public FastCacheBuilder::setupCache (
string $cacheHandlerName
): ?\Psr\SimpleCache\CacheInterface
Parameters
$cacheHandlerName : string