IniFileLoader
class IniFileLoader extends FileLoader
IniFileLoader загружает переводы из ini-файла.
Методы
| MessageCatalogue | load(mixed $resource, string $locale, string $domain = 'messages') Загружает локаль. | из FileLoader |
Подробности
MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages')
Загружает локаль.
Параметры
| mixed | $resource | Ресурс |
| string | $locale | Локаль |
| string | $domain | Домен |
Значение результата
| MessageCatalogue | Экземпляр MessageCatalogue |
Исключения
| NotFoundResourceException | при невозможности найти ресурс |
| InvalidResourceException | при невозможности загрузить ресурс |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Translation/Loader/IniFileLoader.html