public static function createUrlGenerators(array $gitlabHosts = [])
{
$hosts = [new \Pyrech\ComposerChangelogs\UrlGenerator\GithubUrlGenerator(), new \Pyrech\ComposerChangelogs\UrlGenerator\BitbucketUrlGenerator(), new \Pyrech\ComposerChangelogs\UrlGenerator\WordPressUrlGenerator()];
foreach ($gitlabHosts as $gitlabHost) {
$hosts[] = new \Pyrech\ComposerChangelogs\UrlGenerator\GitlabUrlGenerator($gitlabHost);
}
return $hosts;
}