src/ShopifyApp/Console/WebhookJobMakeCommand.php
protected function getUrlFromName(string $name)
    {
        if (Str::endsWith($name, 'Job')) {
            $name = substr($name, 0, -3);
        }

        return strtolower(preg_replace('/(?<!^)[A-Z]/', '-$0', $name));
    }
protected function getUrlFromName(string $name)
    {
        if (Str::endsWith($name, 'Job')) {
            $name = substr($name, 0, -3);
        }

        return strtolower(preg_replace('/(?<!^)[A-Z]/', '-$0', $name));
    }
Converts the job class name into a URL endpoint.

@param string $name The name of the job

@return string