Spec-Zone.ru › Symfony 3.2

ApcuAdapter

class ApcuAdapter extends AbstractAdapter

Свойства

LoggerAwareTrait

Методы

static AdapterInterface createSystemCache(string $namespace, int $defaultLifetime, string $version, string $directory, LoggerInterface $logger = null) from AbstractAdapter
CacheItem getItem($key)

{@inheritdoc}

from AbstractAdapter
getItems(array $keys = array())

{@inheritdoc}

from AbstractAdapter
hasItem($key)

{@inheritdoc}

from AbstractAdapter
clear()

{@inheritdoc}

from AbstractAdapter
deleteItem($key)

{@inheritdoc}

from AbstractAdapter
deleteItems(array $keys)

{@inheritdoc}

from AbstractAdapter
save(CacheItemInterface $item)

{@inheritdoc}

from AbstractAdapter
saveDeferred(CacheItemInterface $item)

{@inheritdoc}

from AbstractAdapter
commit()

{@inheritdoc}

from AbstractAdapter
__destruct() from AbstractAdapter
static handleUnserializeCallback($class) from AbstractAdapter
static isSupported()
__construct(string $namespace = '', int $defaultLifetime, string|null $version = null)

Подробности

static AdapterInterface createSystemCache(string $namespace, int $defaultLifetime, string $version, string $directory, LoggerInterface $logger = null)

Параметры

string $namespace
int $defaultLifetime
string $version
string $directory
LoggerInterface $logger

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

AdapterInterface

CacheItem getItem($key)

{@inheritdoc}

Параметры

$key

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

CacheItem

getItems(array $keys = array())

{@inheritdoc}

return \Traversable|CacheItem[]

Параметры

array $keys

hasItem($key)

{@inheritdoc}

Параметры

$key

clear()

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

Параметры

$key

deleteItems(array $keys)

{@inheritdoc}

Параметры

array $keys

save(CacheItemInterface $item)

{@inheritdoc}

Параметры

CacheItemInterface $item

saveDeferred(CacheItemInterface $item)

{@inheritdoc}

Параметры

CacheItemInterface $item

commit()

{@inheritdoc}

__destruct()

static handleUnserializeCallback($class)

Параметры

$class

static isSupported()

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

Параметры

string $namespace
int $defaultLifetime
string|null $version

Исключения

CacheException если APCu не включён

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Component/Cache/Adapter/ApcuAdapter.html

Spec-Zone.ru

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