private function getWords(string $template): array
    {
        $flags = PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY;

        return (array) preg_split(self::WORD_DELIMITER, $template, -1, $flags);
    }