We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9e7196c + 0536c0a commit f6ac446Copy full SHA for f6ac446
components/expression_language/extending.rst
@@ -125,12 +125,12 @@ or by using the second argument of the constructor::
125
126
class ExpressionLanguage extends BaseExpressionLanguage
127
{
128
- public function __construct(CacheItemPoolInterface $parser = null, array $providers = [])
+ public function __construct(CacheItemPoolInterface $cache = null, array $providers = [])
129
130
// prepends the default provider to let users override it
131
array_unshift($providers, new StringExpressionLanguageProvider());
132
133
- parent::__construct($parser, $providers);
+ parent::__construct($cache, $providers);
134
}
135
136
0 commit comments