You are here

public function IniFileLoader::supports in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Loader/IniFileLoader.php \Symfony\Component\DependencyInjection\Loader\IniFileLoader::supports()

File

vendor/symfony/dependency-injection/Loader/IniFileLoader.php, line 48

Class

IniFileLoader
IniFileLoader loads parameters from INI files.

Namespace

Symfony\Component\DependencyInjection\Loader

Code

public function supports($resource, $type = null) {
  return is_string($resource) && 'ini' === pathinfo($resource, PATHINFO_EXTENSION);
}