MetadataAwareInterface::getMetadata()

mixed getMetadata(string $key = '', string $domain = 'messages')

Gets metadata for the given domain and key.

Passing an empty domain will return an array with all metadata indexed by domain and then by key. Passing an empty key will return an array with all metadata for the given domain.

Parameters

string $key The key
string $domain The domain name

Return Value

mixed The value that was set or an array with the domains/keys or null
doc_Symfony
2016-10-28 06:23:41
Comments
Leave a Comment

Please login to continue.