Spec-Zone.ru › Symfony 3.4

DoctrineAdapter

class DoctrineAdapter extends AbstractAdapter

Свойства

DoctrineTrait
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
static AdapterInterface createSystemCache(string $namespace, int $defaultLifetime, string $version, string $directory, LoggerInterface $logger = null) from AbstractAdapter
static createConnection($dsn, array $options = array()) from AbstractAdapter
CacheItem getItem($key)

{@inheritdoc}

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

{@inheritdoc}

from AbstractAdapter
save(CacheItemInterface $item)

{@inheritdoc}

from AbstractAdapter
saveDeferred(CacheItemInterface $item)

{@inheritdoc}

from AbstractAdapter
commit()

{@inheritdoc}

from AbstractAdapter
__destruct() from AbstractAdapter
__construct(CacheProvider $provider, string $namespace = '', int $defaultLifetime)

Подробности

hasItem($key)

{@inheritdoc}

Параметры

$key

clear()

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

Параметры

$key

deleteItems(array $keys)

{@inheritdoc}

Параметры

массив $keys

static handleUnserializeCallback($class)

Параметры

$class

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

Параметры

строка $namespace
целое число $defaultLifetime
строка $version
строка $directory
LoggerInterface $logger

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

AdapterInterface

static createConnection($dsn, array $options = array())

Параметры

$dsn
массив $options

CacheItem getItem($key)

{@inheritdoc}

Параметры

$key

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

CacheItem

getItems(array $keys = array())

{@inheritdoc}

return \Traversable|CacheItem[]

Параметры

массив $keys

save(CacheItemInterface $item)

{@inheritdoc}

Параметры

CacheItemInterface $item

saveDeferred(CacheItemInterface $item)

{@inheritdoc}

Параметры

CacheItemInterface $item

commit()

{@inheritdoc}

__destruct()

__construct(CacheProvider $provider, string $namespace = '', int $defaultLifetime)

Параметры

CacheProvider $provider
строка $namespace
целое число $defaultLifetime

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

Spec-Zone.ru

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