Embera\Providers\GithubGist::normalizeUrl PHP Method

normalizeUrl() protected method

inline {@inheritdoc}
protected normalizeUrl ( )
    protected function normalizeUrl()
    {
        if (preg_match('~github\\.com/(?:[^/]+)/([a-z0-9]+)/?~i', $this->url, $matches)) {
            $this->url->overwrite('https://gist.github.com/' . $matches['1']);
        }
    }