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
doc_Symfony
2016-10-28 06:06:04
Comments
Leave a Comment

Please login to continue.