Pyrech\ComposerChangelogs\Outputter::getUrlGenerator PHP Метод

getUrlGenerator() приватный Метод

private getUrlGenerator ( string $sourceUrl ) : Pyrech\ComposerChangelogs\UrlGenerator\UrlGenerator | null
$sourceUrl string
Результат Pyrech\ComposerChangelogs\UrlGenerator\UrlGenerator | null
    private function getUrlGenerator($sourceUrl)
    {
        foreach ($this->urlGenerators as $urlGenerator) {
            if ($urlGenerator->supports($sourceUrl)) {
                return $urlGenerator;
            }
        }
        return;
    }