Argument
2 years ago
Attribute
2 years ago
Exception
2 years ago
ParameterBag
3 years ago
Alias.php
4 years ago
ChildDefinition.php
4 years ago
Container.php
2 years ago
ContainerAwareInterface.php
2 years ago
ContainerAwareTrait.php
2 years ago
ContainerBuilder.php
2 years ago
ContainerInterface.php
4 years ago
Definition.php
2 years ago
EnvVarLoaderInterface.php
4 years ago
EnvVarProcessor.php
2 years ago
EnvVarProcessorInterface.php
4 years ago
ExpressionLanguage.php
2 years ago
ExpressionLanguageProvider.php
2 years ago
Parameter.php
4 years ago
Reference.php
4 years ago
ReverseContainer.php
2 years ago
ServiceLocator.php
2 years ago
TaggedContainerInterface.php
4 years ago
TypedReference.php
2 years ago
Variable.php
4 years ago
index.php
3 years ago
ExpressionLanguage.php
18 lines
| 1 | <?php |
| 2 | namespace MailPoetVendor\Symfony\Component\DependencyInjection; |
| 3 | if (!defined('ABSPATH')) exit; |
| 4 | use MailPoetVendor\Psr\Cache\CacheItemPoolInterface; |
| 5 | use MailPoetVendor\Symfony\Component\ExpressionLanguage\ExpressionLanguage as BaseExpressionLanguage; |
| 6 | if (!\class_exists(BaseExpressionLanguage::class)) { |
| 7 | return; |
| 8 | } |
| 9 | class ExpressionLanguage extends BaseExpressionLanguage |
| 10 | { |
| 11 | public function __construct(?CacheItemPoolInterface $cache = null, array $providers = [], ?callable $serviceCompiler = null) |
| 12 | { |
| 13 | // prepend the default provider to let users override it easily |
| 14 | \array_unshift($providers, new ExpressionLanguageProvider($serviceCompiler)); |
| 15 | parent::__construct($cache, $providers); |
| 16 | } |
| 17 | } |
| 18 |