Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ExpressionLanguage.php

class ExpressionLanguage

Adds some function to the default ExpressionLanguage.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

  • class \Symfony\Component\DependencyInjection\ExpressionLanguage extends \Symfony\Component\ExpressionLanguage\ExpressionLanguage

Expanded class hierarchy of ExpressionLanguage

See also

ExpressionLanguageProvider

3 files declare their use of ExpressionLanguage
AbstractRecursivePass.php in vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php
CheckTypeDeclarationsPass.php in vendor/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php
PhpDumper.php in vendor/symfony/dependency-injection/Dumper/PhpDumper.php

File

vendor/symfony/dependency-injection/ExpressionLanguage.php, line 28

Namespace

Symfony\Component\DependencyInjection
View source
class ExpressionLanguage extends BaseExpressionLanguage {
    public function __construct(?CacheItemPoolInterface $cache = null, array $providers = [], ?callable $serviceCompiler = null, ?\Closure $getEnv = null) {
        // prepend the default provider to let users override it easily
        array_unshift($providers, new ExpressionLanguageProvider($serviceCompiler, $getEnv));
        parent::__construct($cache, $providers);
    }

}

Members

Title Sort descending Modifiers Object type Summary
ExpressionLanguage::__construct public function
RSS feed
Powered by Drupal