You are here

public function MessageCatalogue::set in Plug 7

@api

Overrides MessageCatalogueInterface::set

File

lib/Symfony/translation/MessageCatalogue.php, line 85

Class

MessageCatalogue
MessageCatalogue.

Namespace

Symfony\Component\Translation

Code

public function set($id, $translation, $domain = 'messages') {
  $this
    ->add(array(
    $id => $translation,
  ), $domain);
}