You are here

public function MetadataAwareInterface::deleteMetadata in Plug 7

Deletes metadata for the given key and domain.

Passing an empty domain will delete all metadata. Passing an empty key will delete all metadata for the given domain.

Parameters

string $key The key:

string $domain The domain name:

1 method overrides MetadataAwareInterface::deleteMetadata()
MessageCatalogue::deleteMetadata in lib/Symfony/translation/MessageCatalogue.php
Deletes metadata for the given key and domain.

File

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

Class

MetadataAwareInterface
MetadataAwareInterface.

Namespace

Symfony\Component\Translation

Code

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