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

Breadcrumb

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

function ExpressionLanguageProvider::__construct

Same name in this branch
  1. 11.1.x vendor/symfony/routing/Matcher/ExpressionLanguageProvider.php \Symfony\Component\Routing\Matcher\ExpressionLanguageProvider::__construct()

File

vendor/symfony/dependency-injection/ExpressionLanguageProvider.php, line 31

Class

ExpressionLanguageProvider
Define some ExpressionLanguage functions.

Namespace

Symfony\Component\DependencyInjection

Code

public function __construct(?callable $serviceCompiler = null, ?\Closure $getEnv = null) {
    $this->serviceCompiler = null === $serviceCompiler ? null : $serviceCompiler(...);
}
RSS feed
Powered by Drupal