com\setasign\SetaFramework\SimpleCache
CacheHandler Class CacheHandler
File: /SetaFramework/src/SimpleCache/CacheHandler.php
Class hierarchy
Summary
Properties
$applicationManager
protected CacheHandler::$applicationManager
$cacheBuilder
protected CacheHandler::$cacheBuilder
Methods
__construct()
public CacheHandler::__construct (
CacheBuilderInterface $cacheBuilder,
\com\setasign\SetaFramework\Application\ApplicationManager $applicationManager
)\com\setasign\SetaFramework\Application\ApplicationManager $applicationManager
Parameters
- $cacheBuilder : CacheBuilderInterface
- $applicationManager : \com\setasign\SetaFramework\Application\ApplicationManager
getCache()
public CacheHandler::getCache (
string $applicationName,
string $channelName
): ?\Psr\SimpleCache\CacheInterfacestring $channelName
Return the cache handler capsuled into a SimpleCacheGroupWrapper.
Parameters
- $applicationName : string
- $channelName : string
getCacheHandler()
Returns the name of the cache handler.
Parameters
- $applicationName : string
- $channel : string
Return Values
Returns null if the cache channel is disabled.
