public function ClosureLoader::load 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::load()
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Loader/ ClosureLoader.php, line 41
Class
- ClosureLoader
- ClosureLoader loads service definitions from a PHP closure.
Namespace
Symfony\Component\DependencyInjection\LoaderCode
public function load($resource, $type = null) {
call_user_func($resource, $this->container);
}