File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
components/expression_language Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,12 +120,12 @@ or by using the second argument of the constructor::
120
120
It is recommended to create your own ``ExpressionLanguage `` class in your
121
121
library. Now you can add the extension by overriding the constructor::
122
122
123
+ use Psr\Cache\CacheItemPoolInterface;
123
124
use Symfony\Component\ExpressionLanguage\ExpressionLanguage as BaseExpressionLanguage;
124
- use Symfony\Component\ExpressionLanguage\ParserCache\ParserCacheInterface;
125
125
126
126
class ExpressionLanguage extends BaseExpressionLanguage
127
127
{
128
- public function __construct(ParserCacheInterface $parser = null, array $providers = array())
128
+ public function __construct(CacheItemPoolInterface $parser = null, array $providers = array())
129
129
{
130
130
// prepends the default provider to let users override it easily
131
131
array_unshift($providers, new StringExpressionLanguageProvider());
You can’t perform that action at this time.
0 commit comments