protected function _linkEmails($text, $options)
    {
        $replace = [];
        foreach ($this->_placeholders as $hash => $content) {
            $url = $content['content'];
            $envelope = $content['envelope'];
            $replace[$hash] = $envelope[0] . $this->Html->link($url, 'mailto:' . $url, $options) . $envelope[1];
        }

        return strtr($text, $replace);
    }
protected function _linkEmails($text, $options)
    {
        $replace = [];
        foreach ($this->_placeholders as $hash => $content) {
            $url = $content['content'];
            $envelope = $content['envelope'];
            $replace[$hash] = $envelope[0] . $this->Html->link($url, 'mailto:' . $url, $options) . $envelope[1];
        }

        return strtr($text, $replace);
    }
protected function _linkEmails ( $ text , $ options ) { $ replace = [ ] ; foreach ( $ this -> _placeholders as $ hash => $ content ) { $ url = $ content [ 'content' ] ; $ envelope = $ content [ 'envelope' ] ; $ replace [ $ hash ] = $ envelope [ 0 ] . $ this -> Html -> link ( $ url , 'mailto:' . $ url , $ options ) . $ envelope [ 1 ] ; } return strtr ( $ text , $ replace ) ; }
Links email addresses

@param string $text The text to operate on
@param array $options An array of options to use for the HTML.
@return string
@see \Cake\View\Helper\TextHelper::autoLinkEmails()
Links email addresses