You are here

public function MessageCatalogueInterface::defines in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/MessageCatalogueInterface.php \Symfony\Component\Translation\MessageCatalogueInterface::defines()

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

1 method overrides MessageCatalogueInterface::defines()
MessageCatalogue::defines in vendor/symfony/translation/MessageCatalogue.php
Checks if a message has a translation (it does not take into account the fallback mechanism).

File

vendor/symfony/translation/MessageCatalogueInterface.php, line 75

Class

MessageCatalogueInterface
MessageCatalogueInterface.

Namespace

Symfony\Component\Translation

Code

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