ApcuCache class
Framework\Cache\ApcuCache
Class ApcuCache.
Extends Framework\Cache\Cache
Defined in libraries/cache/src/ApcuCache.php
Methods #
- delete()
- -
- flush()
- -
- get()
- -
- set()
- -
- getValue()
- -
- initialize()
- -
delete()
public function delete(string $key): bool
Parameters
- string $key
Returns
bool
flush()
public function flush(): bool
Returns
bool
get()
public function get(string $key): mixed
Parameters
- string $key
Returns
mixed
set()
public function set(string $key, mixed $value, ?int $ttl = NULL): bool
Parameters
- string $key
- mixed $value
- ?int $ttl
Returns
bool
getValue()
protected function getValue(string $key): mixed
Parameters
- string $key
Returns
mixed
initialize()
protected function initialize(): void
Returns
void
Inherited methods #
-
__construct()fromFramework\Cache\Cache -
__destruct()fromFramework\Cache\Cache -
isAutoClose()fromFramework\Cache\Cache -
setAutoClose()fromFramework\Cache\Cache -
setConfigs()fromFramework\Cache\Cache -
setSerializer()fromFramework\Cache\Cache -
getSerializer()fromFramework\Cache\Cache -
log()fromFramework\Cache\Cache -
getDefaultTtl()fromFramework\Cache\Cache -
setDefaultTtl()fromFramework\Cache\Cache -
makeTtl()fromFramework\Cache\Cache -
getMulti()fromFramework\Cache\Cache -
setMulti()fromFramework\Cache\Cache -
deleteMulti()fromFramework\Cache\Cache -
increment()fromFramework\Cache\Cache -
decrement()fromFramework\Cache\Cache -
close()fromFramework\Cache\Cache -
renderKey()fromFramework\Cache\Cache -
serialize()fromFramework\Cache\Cache -
unserialize()fromFramework\Cache\Cache -
setDebugCollector()fromFramework\Cache\Cache -
addDebugGet()fromFramework\Cache\Cache -
addDebugSet()fromFramework\Cache\Cache -
addDebugDelete()fromFramework\Cache\Cache -
addDebugFlush()fromFramework\Cache\Cache