Spec-Zone.ru › Symfony 3.4

Система кэширования файлов

класс FilesystemCache расширяет AbstractCache и реализует PruneableInterface

Особенности

FilesystemTrait
FilesystemCommonTrait
AbstractTrait
LoggerAwareTrait

Методы

hasItem($key)

{@inheritdoc}

из AbstractTrait
clear()

{@inheritdoc}

из AbstractTrait
deleteItem($key)

{@inheritdoc}

из AbstractTrait
deleteItems(array $keys)

{@inheritdoc}

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

{@inheritdoc}

из AbstractCache
set($key, $value, $ttl = null)

{@inheritdoc}

из AbstractCache
getMultiple($keys, $default = null)

{@inheritdoc}

из AbstractCache
setMultiple($values, $ttl = null)

{@inheritdoc}

из AbstractCache
deleteMultiple($keys)

{@inheritdoc}

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

Подробное описание

hasItem($key)

{@inheritdoc}

Параметры

$key

clear()

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

Параметры

$key

deleteItems(array $keys)

{@inheritdoc}

Параметры

массив $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()

bool prune()

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

bool

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

Параметры

строка $namespace
целое $defaultLifetime
строка|null $directory

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

Spec-Zone.ru

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