public function IniFileLoader::supports in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Loader/IniFileLoader.php \Symfony\Component\DependencyInjection\Loader\IniFileLoader::supports()
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Loader/ IniFileLoader.php, line 48
Class
- IniFileLoader
- IniFileLoader loads parameters from INI files.
Namespace
Symfony\Component\DependencyInjection\LoaderCode
public function supports($resource, $type = null) {
return is_string($resource) && 'ini' === pathinfo($resource, PATHINFO_EXTENSION);
}