ArrayParserCache

ArrayParserCache

class ArrayParserCache implements ParserCacheInterface

Methods

ParsedExpression|null fetch(string $key)

Fetches an expression from the cache.

save(string $key, ParsedExpression $expression)

Saves an expression in the cache.

Details

ParsedExpression|null fetch(string $key)

Fetches an expression from the cache.

Parameters

string $key The cache key

Return Value

ParsedExpression|null

save(string $key, ParsedExpression $expression)

Saves an expression in the cache.

Parameters

string $key The cache key
ParsedExpression $expression A ParsedExpression instance to store in the cache

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/ExpressionLanguage/ParserCache/ArrayParserCache.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部