You are here

public function ExpressionLanguage::__construct in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ExpressionLanguage.php \Symfony\Component\DependencyInjection\ExpressionLanguage::__construct()

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ExpressionLanguage.php, line 26

Class

ExpressionLanguage
Adds some function to the default ExpressionLanguage.

Namespace

Symfony\Component\DependencyInjection

Code

public function __construct(ParserCacheInterface $cache = null, array $providers = array()) {

  // prepend the default provider to let users override it easily
  array_unshift($providers, new ExpressionLanguageProvider());
  parent::__construct($cache, $providers);
}