public function MessageCatalogue::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/MessageCatalogue.php \Symfony\Component\Translation\MessageCatalogue::__construct()
Constructor.
Parameters
string $locale The locale:
array $messages An array of messages classified by domain:
File
- vendor/
symfony/ translation/ MessageCatalogue.php, line 36
Class
- MessageCatalogue
- MessageCatalogue.
Namespace
Symfony\Component\TranslationCode
public function __construct($locale, array $messages = array()) {
$this->locale = $locale;
$this->messages = $messages;
}