public function autoLink($text, array $options = [])
    {
        $text = $this->autoLinkUrls($text, $options);

        return $this->autoLinkEmails($text, ['escape' => false] + $options);
    }
public function autoLink($text, array $options = [])
    {
        $text = $this->autoLinkUrls($text, $options);

        return $this->autoLinkEmails($text, ['escape' => false] + $options);
    }
public function autoLink ( $ text , array $ options = [ ] ) { $ text = $ this -> autoLinkUrls ( $ text , $ options ) ; return $ this -> autoLinkEmails ( $ text , [ 'escape' => false ] + $ options ) ; }
Convert all links and email addresses to HTML links.

### Options

- `escape` Control HTML escaping of input. Defaults to true.

@param string $text Text
@param array $options Array of HTML options, and options listed above.
@return string The text with links
@link https://book.cakephp.org/3.0/en/views/helpers/text.html#linking-both-urls-and-email-addresses
Convert all links and email addresses to HTML links .