/** * Auto-link URLs in the Tweet text provided. * <p/> * This only auto-links URLs with protocol. * * @return string that auto-link HTML added * @since 1.1.0 */ public function autoLinkURLs($tweet = null) { if (is_null($tweet)) { $tweet = $this->tweet; } $entities = $this->extractor->extractURLWithoutProtocol(false)->extractURLsWithIndices($tweet); return $this->autoLinkEntities($tweet, $entities); }