We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parenta9e0e66 commit0a59f6dCopy full SHA for 0a59f6d
components/expression_language/caching.rst
@@ -38,6 +38,12 @@ in the object using the constructor::
38
$cache = new MyDatabaseParserCache(...);
39
$language = new ExpressionLanguage($cache);
40
41
+..note::
42
+
43
+ The `DoctrineBridge`_ has a ParserCache implementation using the
44
+ `doctrine cache library`_, which gives you caching for all sorts of cache
45
+ strategies, like Apc, Filesystem and Apc.
46
47
Using Parsed and Serialized Expressions
48
---------------------------------------
49
@@ -59,3 +65,6 @@ Both ``evaluate`` and ``compile`` can handle ``ParsedExpression`` and
59
65
$expression = new SerializedParsedExpression(serialize($language->parse('1 + 4')));
60
66
61
67
echo $language->evaluate($expression); // prints 5
68
69
+.. _DoctrineBridge:https://github.com/symfony/DoctrineBridge
70
+.. _`doctrine cache library`:http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/caching.html