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

Breadcrumb

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

function ExpressionLanguage::__construct

File

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

Class

ExpressionLanguage
Adds some function to the default ExpressionLanguage.

Namespace

Symfony\Component\DependencyInjection

Code

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);
}
RSS feed
Powered by Drupal