You are here

private function MessageCatalogue::addMetadata in Plug 7

Adds current values with the new values.

Parameters

array $values Values to add:

1 call to MessageCatalogue::addMetadata()
MessageCatalogue::addCatalogue in lib/Symfony/translation/MessageCatalogue.php
@api

File

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

Class

MessageCatalogue
MessageCatalogue.

Namespace

Symfony\Component\Translation

Code

private function addMetadata(array $values) {
  foreach ($values as $domain => $keys) {
    foreach ($keys as $key => $value) {
      $this
        ->setMetadata($key, $value, $domain);
    }
  }
}