You are here

public function ClosureLoader::__construct in Service Container 7.2

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

Constructor.

Parameters

ContainerBuilder $container A ContainerBuilder instance:

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Loader/ClosureLoader.php, line 33

Class

ClosureLoader
ClosureLoader loads service definitions from a PHP closure.

Namespace

Symfony\Component\DependencyInjection\Loader

Code

public function __construct(ContainerBuilder $container) {
  $this->container = $container;
}