You are here

public function MetadataAwareInterface::setMetadata in Zircon Profile 8

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

Adds metadata to a message domain.

Parameters

string $key The key:

mixed $value The value:

string $domain The domain name:

1 method overrides MetadataAwareInterface::setMetadata()
MessageCatalogue::setMetadata in vendor/symfony/translation/MessageCatalogue.php
Adds metadata to a message domain.

File

vendor/symfony/translation/MetadataAwareInterface.php, line 42

Class

MetadataAwareInterface
MetadataAwareInterface.

Namespace

Symfony\Component\Translation

Code

public function setMetadata($key, $value, $domain = 'messages');