public function ClosureLoader::__construct in Service Container 7
Same name and namespace in other branches
- 7.2 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\LoaderCode
public function __construct(ContainerBuilder $container) {
$this->container = $container;
}