You are here

public function AbstractOperation::getResult in Plug 7

Returns resulting catalogue.

Return value

MessageCatalogueInterface

Overrides OperationInterface::getResult

File

lib/Symfony/translation/Catalogue/AbstractOperation.php, line 131

Class

AbstractOperation
Base catalogues binary operation class.

Namespace

Symfony\Component\Translation\Catalogue

Code

public function getResult() {
  foreach ($this
    ->getDomains() as $domain) {
    if (!isset($this->messages[$domain])) {
      $this
        ->processDomain($domain);
    }
  }
  return $this->result;
}