You are here

public function MessageCatalogue::all in Plug 7

@api

Overrides MessageCatalogueInterface::all

File

lib/Symfony/translation/MessageCatalogue.php, line 71

Class

MessageCatalogue
MessageCatalogue.

Namespace

Symfony\Component\Translation

Code

public function all($domain = null) {
  if (null === $domain) {
    return $this->messages;
  }
  return isset($this->messages[$domain]) ? $this->messages[$domain] : array();
}