You are here

class IniFileLoader in Plug 7

IniFileLoader loads translations from an ini file.

@author stealth35

Hierarchy

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\Loader
View source
class IniFileLoader extends FileLoader {

  /**
   * {@inheritdoc}
   */
  protected function loadResource($resource) {
    return parse_ini_file($resource, true);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ArrayLoader::flatten private function Flattens an nested array of translations.
FileLoader::load public function @api Overrides ArrayLoader::load
IniFileLoader::loadResource protected function Overrides FileLoader::loadResource