You are here

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\Translation

Code

public function replace($messages, $domain = 'messages') {
  $this->messages[$domain] = array();
  $this
    ->add($messages, $domain);
}