src/Viserio/Component/Translation/MessageCatalogue.php
public function replace(array $messages, string $domain = 'messages'): void
    {
        $this->messages[$domain] = [];
        $this->add($messages, $domain);
    }
public function replace(array $messages, string $domain = 'messages'): void
    {
        $this->messages[$domain] = [];
        $this->add($messages, $domain);
    }
{@inheritdoc}