You are here

protected function PhpFileLoader::loadResource in Plug 7

Overrides FileLoader::loadResource

File

lib/Symfony/translation/Loader/PhpFileLoader.php, line 26

Class

PhpFileLoader
PhpFileLoader loads translations from PHP files returning an array of translations.

Namespace

Symfony\Component\Translation\Loader

Code

protected function loadResource($resource) {
  return require $resource;
}