MoFileLoader
MoFileLoader
class MoFileLoader extends FileLoader
Constants
MO_LITTLE_ENDIAN_MAGIC | Magic used for validating the format of a MO file as well as detecting if the machine used to create that file was little endian. |
MO_BIG_ENDIAN_MAGIC | Magic used for validating the format of a MO file as well as detecting if the machine used to create that file was big endian. |
MO_HEADER_SIZE | The size of the header of a MO file in bytes. |
Methods
MessageCatalogue | load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. | from FileLoader |
Details
MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages')
Loads a locale.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Translation/Loader/MoFileLoader.html