Definition at line 62 of file CacheManager.php.
Phpfastcache\CacheManager::__construct |
( |
| ) |
|
|
finalprotected |
static Phpfastcache\CacheManager::__callStatic |
( |
string |
$name, |
|
|
array |
$arguments |
|
) |
| |
|
static |
- Parameters
-
string | $name | |
array | $arguments | |
- Returns
- ExtendedCacheItemPoolInterface
- Exceptions
-
PhpfastcacheDriverCheckException | |
PhpfastcacheDriverException | |
PhpfastcacheDriverNotFoundException | |
PhpfastcacheInvalidArgumentException | |
PhpfastcacheInvalidConfigurationException | |
PhpfastcacheLogicException | |
| |
Definition at line 151 of file CacheManager.php.
static Phpfastcache\CacheManager::addCoreDriverOverride |
( |
string |
$driverName, |
|
|
string |
$className |
|
) |
| |
|
static |
- Parameters
-
string | $driverName | |
string | $className | |
- Returns
- void
- Exceptions
-
PhpfastcacheLogicException | |
PhpfastcacheUnsupportedOperationException | |
PhpfastcacheInvalidArgumentException | |
Definition at line 436 of file CacheManager.php.
static Phpfastcache\CacheManager::addCustomDriver |
( |
string |
$driverName, |
|
|
string |
$className |
|
) |
| |
|
static |
- Parameters
-
string | $driverName | |
string | $className | |
- Returns
- void
- Exceptions
-
PhpfastcacheLogicException | |
PhpfastcacheUnsupportedOperationException | |
PhpfastcacheInvalidArgumentException | |
Definition at line 339 of file CacheManager.php.
static Phpfastcache\CacheManager::clearInstance |
( |
ExtendedCacheItemPoolInterface |
$cachePoolInstance | ) |
|
|
static |
- Parameters
-
ExtendedCacheItemPoolInterface | $cachePoolInstance | |
- Returns
- bool
- Since
- 7.0.4
Definition at line 304 of file CacheManager.php.
static Phpfastcache\CacheManager::clearInstances |
( |
| ) |
|
|
static |
static Phpfastcache\CacheManager::getDefaultConfig |
( |
| ) |
|
|
static |
- Returns
- ConfigurationOptionInterface
- Exceptions
-
PhpfastcacheInvalidConfigurationException | |
| |
Definition at line 220 of file CacheManager.php.
static Phpfastcache\CacheManager::getDefaultNamespacePath |
( |
| ) |
|
|
static |
static Phpfastcache\CacheManager::getDriverClass |
( |
string |
$driverName | ) |
|
|
static |
static Phpfastcache\CacheManager::getDriverList |
( |
bool |
$FQCNAsKey = false | ) |
|
|
static |
Return the list of available drivers Capitalized with optional FQCN as key.
- Parameters
-
bool | $FQCNAsKey | Describe keys with Full Qualified Class Name |
- Returns
- string[]
- Exceptions
-
PhpfastcacheUnsupportedOperationException | |
Definition at line 372 of file CacheManager.php.
static Phpfastcache\CacheManager::getInstance |
( |
string |
$driver, |
|
|
?ConfigurationOptionInterface |
$config = null , |
|
|
?string |
$instanceId = null |
|
) |
| |
|
static |
- Parameters
-
string | $driver | |
ConfigurationOptionInterface | $config | |
string | null | $instanceId | |
- Returns
- ExtendedCacheItemPoolInterface|AggregatablePoolInterface
- Exceptions
-
PhpfastcacheDriverCheckException | |
PhpfastcacheDriverException | |
PhpfastcacheDriverNotFoundException | |
PhpfastcacheInvalidArgumentException | |
PhpfastcacheInvalidConfigurationException | |
PhpfastcacheLogicException | |
| |
Definition at line 171 of file CacheManager.php.
static Phpfastcache\CacheManager::getInstanceById |
( |
string |
$instanceId | ) |
|
|
static |
- Parameters
-
- Returns
- ExtendedCacheItemPoolInterface
- Exceptions
-
PhpfastcacheInstanceNotFoundException | |
Definition at line 105 of file CacheManager.php.
static Phpfastcache\CacheManager::getInstances |
( |
| ) |
|
|
static |
Return the list of instances.
- Returns
- ExtendedCacheItemPoolInterface[]
Definition at line 119 of file CacheManager.php.
static& Phpfastcache\CacheManager::getInternalInstances |
( |
| ) |
|
|
static |
This method is intended for internal use only and should not be used for any external development use the getInstances() method instead.
- Returns
- ExtendedCacheItemPoolInterface[]
Definition at line 134 of file CacheManager.php.
static Phpfastcache\CacheManager::getNamespacePath |
( |
| ) |
|
|
static |
static Phpfastcache\CacheManager::removeCoreDriverOverride |
( |
string |
$driverName | ) |
|
|
static |
- Parameters
-
- Returns
- void
- Exceptions
-
PhpfastcacheLogicException | |
PhpfastcacheInvalidArgumentException | |
Definition at line 478 of file CacheManager.php.
static Phpfastcache\CacheManager::removeCustomDriver |
( |
string |
$driverName | ) |
|
|
static |
- Parameters
-
- Returns
- void
- Exceptions
-
PhpfastcacheLogicException | |
PhpfastcacheInvalidArgumentException | |
Definition at line 413 of file CacheManager.php.
static Phpfastcache\CacheManager::setDefaultConfig |
( |
ConfigurationOption |
$config | ) |
|
|
static |
static Phpfastcache\CacheManager::standardizeDriverName |
( |
string |
$driverName | ) |
|
|
static |
static Phpfastcache\CacheManager::validateConfig |
( |
?ConfigurationOptionInterface |
$config | ) |
|
|
staticprotected |
- Parameters
-
ConfigurationOptionInterface | null | $config | |
- Returns
- ConfigurationOption
- Exceptions
-
PhpfastcacheInvalidArgumentException | |
PhpfastcacheInvalidConfigurationException | |
| |
Definition at line 202 of file CacheManager.php.
static Phpfastcache\CacheManager::validateDriverClass |
( |
string |
$driverClass | ) |
|
|
staticprotected |
- Parameters
-
- Returns
- string|ExtendedCacheItemPoolInterface
- Exceptions
-
PhpfastcacheDriverException | |
Definition at line 239 of file CacheManager.php.
Phpfastcache\CacheManager::$config |
|
staticprotected |
Phpfastcache\CacheManager::$driverCustoms = [] |
|
staticprotected |
Phpfastcache\CacheManager::$driverOverrides = [] |
|
staticprotected |
Phpfastcache\CacheManager::$instances = [] |
|
staticprotected |
Phpfastcache\CacheManager::$namespacePath |
|
staticprotected |
const Phpfastcache\CacheManager::CORE_DRIVER_NAMESPACE = 'Phpfastcache\Drivers\\' |
The documentation for this class was generated from the following file: