public function MessageCatalogue::__construct in Plug 7
Constructor.
@api
Parameters
string $locale The locale:
array $messages An array of messages classified by domain:
File
- lib/
Symfony/ translation/ MessageCatalogue.php, line 40
Class
- MessageCatalogue
- MessageCatalogue.
Namespace
Symfony\Component\TranslationCode
public function __construct($locale, array $messages = array()) {
$this->locale = $locale;
$this->messages = $messages;
}