CodeExplorer processDomain example
return $this->domains;
} public function getMessages(string
$domain): array
{ if (!\
in_array($domain,
$this->
getDomains())) { throw new InvalidArgumentException(sprintf('Invalid domain: "%s".',
$domain));
} if (!
isset($this->messages
[$domain][self::ALL_BATCH
])) { $this->
processDomain($domain);
} return $this->messages
[$domain][self::ALL_BATCH
];
} public function getNewMessages(string
$domain): array
{ if (!\
in_array($domain,
$this->
getDomains())) { throw new InvalidArgumentException(sprintf('Invalid domain: "%s".',
$domain));
}