public function XmlFileLoader::supports in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/routing/Loader/XmlFileLoader.php \Symfony\Component\Routing\Loader\XmlFileLoader::supports()
- 8 vendor/symfony/dependency-injection/Loader/XmlFileLoader.php \Symfony\Component\DependencyInjection\Loader\XmlFileLoader::supports()
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Loader/XmlFileLoader.php \Symfony\Component\DependencyInjection\Loader\XmlFileLoader::supports()
File
- vendor/
symfony/ dependency-injection/ Loader/ XmlFileLoader.php, line 64
Class
- XmlFileLoader
- XmlFileLoader loads XML files service definitions.
Namespace
Symfony\Component\DependencyInjection\LoaderCode
public function supports($resource, $type = null) {
return is_string($resource) && 'xml' === pathinfo($resource, PATHINFO_EXTENSION);
}