You are here

public function MessageCatalogueInterface::has in Zircon Profile 8

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

Checks if a message has a translation.

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 vendor/symfony/translation/MessageCatalogue.php
Checks if a message has a translation.

File

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

Class

MessageCatalogueInterface
MessageCatalogueInterface.

Namespace

Symfony\Component\Translation

Code

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