You are here

public function MetadataAwareInterface::setMetadata in Plug 7

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 lib/Symfony/translation/MessageCatalogue.php
Adds metadata to a message domain.

File

lib/Symfony/translation/MetadataAwareInterface.php, line 42

Class

MetadataAwareInterface
MetadataAwareInterface.

Namespace

Symfony\Component\Translation

Code

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