You are here

public function MessageCatalogueInterface::has in Plug 7

Checks if a message has a translation.

@api

Parameters

string $id The message id:

string $domain The domain name:

Return value

bool true if the message has a translation, false otherwise

1 method overrides MessageCatalogueInterface::has()
MessageCatalogue::has in lib/Symfony/translation/MessageCatalogue.php
@api

File

lib/Symfony/translation/MessageCatalogueInterface.php, line 77

Class

MessageCatalogueInterface
MessageCatalogueInterface.

Namespace

Symfony\Component\Translation

Code

public function has($id, $domain = 'messages');