class DoctrineParserCache implements ParserCacheInterface

Methods

__construct(Cache $cache)

No description

fetch(string $key)

Fetches an expression from the cache.

save(string $key, ParsedExpression $expression)

Saves an expression in the cache.

Details

at line 25
__construct(Cache $cache)

Parameters

Cache $cache

at line 33
ParsedExpression|null fetch(string $key)

Fetches an expression from the cache.

Parameters

string $key The cache key

Return Value

ParsedExpression|null

at line 45
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