Spec-Zone.ru › Symfony 3.2

DoctrineParserCache deprecated

class DoctrineParserCache implements ParserCacheInterface

deprecated

DoctrineParserCache class is deprecated since version 3.2 and will be removed in 4.0. Use the Symfony\Component\Cache\Adapter\DoctrineAdapter class instead.

Методы

__construct(Cache $cache)
ParsedExpression|null fetch(string $key)

Извлекает выражение из кэша.

save(string $key, ParsedExpression $expression)

Сохраняет выражение в кэше.

Подробности

__construct(Cache $cache)

Параметры

Cache $cache

ParsedExpression|null fetch(string $key)

Извлекает выражение из кэша.

Параметры

string $key Ключ кэша

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

ParsedExpression|null

save(string $key, ParsedExpression $expression)

Сохраняет выражение в кэше.

Параметры

string $key Ключ кэша
ParsedExpression $expression Экземпляр ParsedExpression для хранения в кэше

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Bridge/Doctrine/ExpressionLanguage/DoctrineParserCache.html

Spec-Zone.ru

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