public function toPascalCase(string $string): string
    {
        $string = Transliterator::urlize((string)$string);
        $string = str_replace('-', '', ucwords($string, '-'));

        return $string;
    }