Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\Translation\Loader; Chris@0: Chris@0: /** Chris@0: * IniFileLoader loads translations from an ini file. Chris@0: * Chris@0: * @author stealth35 Chris@0: */ Chris@0: class IniFileLoader extends FileLoader Chris@0: { Chris@0: /** Chris@0: * {@inheritdoc} Chris@0: */ Chris@0: protected function loadResource($resource) Chris@0: { Chris@0: return parse_ini_file($resource, true); Chris@0: } Chris@0: }