public function get(int $index): string
    {
        if (! array_key_exists($index, $this->messages)) {
            throw new \OutOfBoundsException('Message does not exists');
        }
        return $this->messages[$index];
    }