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']);
        }
    }