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