com\setasign\SetaFramework\SimpleCache

CacheHandler Class CacheHandler

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

Class hierarchy

Summary

Properties

$applicationManager

$cache

protected array<string, \Psr\SimpleCache\CacheInterface|null> CacheHandler::$cache = array()

$cacheBuilder


Methods

getAvailableCacheHandlers()

public CacheHandler::getAvailableCacheHandlers (
void
): array

Return all available cache handlers.

getCache()

public CacheHandler::getCache (
string $applicationName,
string $channelName
): ?\Psr\SimpleCache\CacheInterface

Return the cache handler capsuled into a SimpleCacheGroupWrapper.

Parameters
$applicationName : string
 
$channelName : string
 

getCacheHandler()

protected CacheHandler::getCacheHandler (
string $applicationName,
string $channel
): ?string

Returns the name of the cache handler.

Parameters
$applicationName : string
 
$channel : string
 
Return Values

Returns null if the cache channel is disabled.