class IniFileLoader in Plug 7
IniFileLoader loads translations from an ini file.
@author stealth35
Hierarchy
- class \Symfony\Component\Translation\Loader\ArrayLoader implements LoaderInterface
- class \Symfony\Component\Translation\Loader\FileLoader
- class \Symfony\Component\Translation\Loader\IniFileLoader
- class \Symfony\Component\Translation\Loader\FileLoader
Expanded class hierarchy of IniFileLoader
1 file declares its use of IniFileLoader
- IniFileLoaderTest.php in lib/
Symfony/ translation/ Tests/ Loader/ IniFileLoaderTest.php
1 string reference to 'IniFileLoader'
- TranslatorTest::getTransFileTests in lib/
Symfony/ translation/ Tests/ TranslatorTest.php
File
- lib/
Symfony/ translation/ Loader/ IniFileLoader.php, line 19
Namespace
Symfony\Component\Translation\LoaderView source
class IniFileLoader extends FileLoader {
/**
* {@inheritdoc}
*/
protected function loadResource($resource) {
return parse_ini_file($resource, true);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ArrayLoader:: |
private | function | Flattens an nested array of translations. | |
FileLoader:: |
public | function |
@api Overrides ArrayLoader:: |
|
IniFileLoader:: |
protected | function |
Overrides FileLoader:: |