Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/dependency-injection/ExpressionLanguage.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 7a779792577d |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
23 class ExpressionLanguage extends BaseExpressionLanguage | 23 class ExpressionLanguage extends BaseExpressionLanguage |
24 { | 24 { |
25 /** | 25 /** |
26 * {@inheritdoc} | 26 * {@inheritdoc} |
27 */ | 27 */ |
28 public function __construct($cache = null, array $providers = array(), callable $serviceCompiler = null) | 28 public function __construct($cache = null, array $providers = [], callable $serviceCompiler = null) |
29 { | 29 { |
30 // prepend the default provider to let users override it easily | 30 // prepend the default provider to let users override it easily |
31 array_unshift($providers, new ExpressionLanguageProvider($serviceCompiler)); | 31 array_unshift($providers, new ExpressionLanguageProvider($serviceCompiler)); |
32 | 32 |
33 parent::__construct($cache, $providers); | 33 parent::__construct($cache, $providers); |