public function MessageCatalogue::replace in Plug 7
@api
Overrides MessageCatalogueInterface::replace
File
- lib/
Symfony/ translation/ MessageCatalogue.php, line 139
Class
- MessageCatalogue
- MessageCatalogue.
Namespace
Symfony\Component\TranslationCode
public function replace($messages, $domain = 'messages') {
$this->messages[$domain] = array();
$this
->add($messages, $domain);
}