You are here

public function MessageCatalogueInterface::add in Zircon Profile 8

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

Adds translations for a given domain.

Parameters

array $messages An array of translations:

string $domain The domain name:

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

File

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

Class

MessageCatalogueInterface
MessageCatalogueInterface.

Namespace

Symfony\Component\Translation

Code

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