Spec-Zone.ru › Symfony 3.4

PhpFilesCache

class PhpFilesCache extends AbstractCache implements PruneableInterface

Свойства

PhpFilesTrait
FilesystemCommonTrait
AbstractTrait
LoggerAwareTrait

Методы

hasItem($key)

{@inheritdoc}

from AbstractTrait
clear()

{@inheritdoc}

from AbstractTrait
deleteItem($key)

{@inheritdoc}

from AbstractTrait
deleteItems(array $keys)

{@inheritdoc}

from AbstractTrait
static handleUnserializeCallback($class) from AbstractTrait
get($key, $default = null)

{@inheritdoc}

from AbstractCache
set($key, $value, $ttl = null)

{@inheritdoc}

from AbstractCache
getMultiple($keys, $default = null)

{@inheritdoc}

from AbstractCache
setMultiple($values, $ttl = null)

{@inheritdoc}

from AbstractCache
deleteMultiple($keys)

{@inheritdoc}

from AbstractCache
static throwError($type, $message, $file, $line) from FilesystemCommonTrait
__destruct() from FilesystemCommonTrait
static isSupported() from PhpFilesTrait
bool prune() from PhpFilesTrait
__construct(string $namespace = '', int $defaultLifetime, string|null $directory = null)

Подробности

hasItem($key)

{@inheritdoc}

Параметры

$key

clear()

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

Параметры

$key

deleteItems(array $keys)

{@inheritdoc}

Параметры

array $keys

static handleUnserializeCallback($class)

Параметры

$class

get($key, $default = null)

{@inheritdoc}

Параметры

$key
$default

set($key, $value, $ttl = null)

{@inheritdoc}

Параметры

$key
$value
$ttl

getMultiple($keys, $default = null)

{@inheritdoc}

Параметры

$keys
$default

setMultiple($values, $ttl = null)

{@inheritdoc}

Параметры

$values
$ttl

deleteMultiple($keys)

{@inheritdoc}

Параметры

$keys

static throwError($type, $message, $file, $line)

Параметры

$type
$message
$file
$line

__destruct()

static isSupported()

bool prune()

Возвращаемое значение

bool

__construct(string $namespace = '', int $defaultLifetime, string|null $directory = null)

Параметры

string $namespace
int $defaultLifetime
string|null $directory

Исключения

CacheException если OPcache не включен

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.4/Symfony/Component/Cache/Simple/PhpFilesCache.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API