protected function _crawl($url) { $urls = $this->_Essence->crawlUrl($url); if (!$urls) { throw new Exception('No URL found.'); } $this->_printArray($urls); }