You are here

public function MessageCatalogueInterface::replace in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/MessageCatalogueInterface.php \Symfony\Component\Translation\MessageCatalogueInterface::replace()

Sets translations for a given domain.

Parameters

array $messages An array of translations:

string $domain The domain name:

1 method overrides MessageCatalogueInterface::replace()
MessageCatalogue::replace in vendor/symfony/translation/MessageCatalogue.php
Sets translations for a given domain.

File

vendor/symfony/translation/MessageCatalogueInterface.php, line 93

Class

MessageCatalogueInterface
MessageCatalogueInterface.

Namespace

Symfony\Component\Translation

Code

public function replace($messages, $domain = 'messages');