public function MessageCatalogue::setMetadata in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/MessageCatalogue.php \Symfony\Component\Translation\MessageCatalogue::setMetadata()
Adds metadata to a message domain.
Parameters
string $key The key:
mixed $value The value:
string $domain The domain name:
Overrides MetadataAwareInterface::setMetadata
1 call to MessageCatalogue::setMetadata()
- MessageCatalogue::addMetadata in vendor/
symfony/ translation/ MessageCatalogue.php - Adds current values with the new values.
File
- vendor/
symfony/ translation/ MessageCatalogue.php, line 238
Class
- MessageCatalogue
- MessageCatalogue.
Namespace
Symfony\Component\TranslationCode
public function setMetadata($key, $value, $domain = 'messages') {
$this->metadata[$domain][$key] = $value;
}