You are here

public function AbstractOperation::getResult in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/translation/Catalogue/AbstractOperation.php \Symfony\Component\Translation\Catalogue\AbstractOperation::getResult()

Returns resulting catalogue.

Return value

MessageCatalogueInterface

Overrides OperationInterface::getResult

File

vendor/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;
}