MessageCatalogueInterface::defines()

bool defines(string $id, string $domain = 'messages')

Checks if a message has a translation (it does not take into account the fallback mechanism).

Parameters

string $id The message id
string $domain The domain name

Return Value

bool true if the message has a translation, false otherwise
doc_Symfony
2016-10-28 06:23:37
Comments
Leave a Comment

Please login to continue.