private function MessageCatalogue::addMetadata in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/MessageCatalogue.php \Symfony\Component\Translation\MessageCatalogue::addMetadata()
Adds current values with the new values.
Parameters
array $values Values to add:
1 call to MessageCatalogue::addMetadata()
- MessageCatalogue::addCatalogue in vendor/
symfony/ translation/ MessageCatalogue.php - Merges translations from the given Catalogue into the current one.
File
- vendor/
symfony/ translation/ MessageCatalogue.php, line 262
Class
- MessageCatalogue
- MessageCatalogue.
Namespace
Symfony\Component\TranslationCode
private function addMetadata(array $values) {
foreach ($values as $domain => $keys) {
foreach ($keys as $key => $value) {
$this
->setMetadata($key, $value, $domain);
}
}
}