Class

Symfony\Component\Translation\Loader\ArrayLoader

class ArrayLoader implements LoaderInterface

ArrayLoader loads translations from a PHP array.

Methods

MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages')

Loads a locale.

Details

at line 30
public MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages')

Loads a locale.

Parameters

mixed $resource A resource
string $locale A locale
string $domain The domain

Return Value

MessageCatalogue A MessageCatalogue instance