abstract class FileLoader extends ArrayLoader
| MessageCatalogue |  load(mixed $resource, string $locale, string $domain = 'messages')  Loads a locale.  |  |
| array | loadResource(string $resource) | 
Loads a locale.
| mixed | $resource | A resource | 
| string | $locale | A locale | 
| string | $domain | The domain | 
| MessageCatalogue | A MessageCatalogue instance | 
| NotFoundResourceException | when the resource cannot be found | 
| InvalidResourceException | when the resource cannot be loaded | 
| string | $resource | 
| array | 
| InvalidResourceException | if stream content has an invalid format | 
    © 2004–2017 Fabien Potencier
Licensed under the MIT License.
    https://api.symfony.com/4.1/Symfony/Component/Translation/Loader/FileLoader.html