Spec-Zone.ru › Symfony 3.4

FilesystemAdapter

class FilesystemAdapter extends AbstractAdapter implements PruneableInterface

Свойства

FilesystemTrait
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
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 FilesystemCommonTrait
static throwError($type, $message, $file, $line) from FilesystemCommonTrait
bool prune() from 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

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()

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

Параметры

$type
$message
$file
$line

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/Adapter/FilesystemAdapter.html

Spec-Zone.ru

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