Embera\Providers\Twitter::normalizeUrl PHP Метод

normalizeUrl() защищенный Метод

inline {@inheritdoc}
protected normalizeUrl ( )
    protected function normalizeUrl()
    {
        if (preg_match('~twitter\\.com/(?:\\#\\!|/)?([\\w\\d-_]+)/(status|moments)/([0-9]+)~i', $this->url, $matches)) {
            $this->url = new \Embera\Url('https://twitter.com/' . $matches['1'] . '/' . $matches['2'] . '/' . $matches['3']);
        }
    }