src/Fetchers/SerpFetcher.php
public function fetch($url)
    {
        $SHDObject = $this->getSHDWrapper($url);
        $urls      = $this->getPageUrls($SHDObject);
        $titles    = $this->getPageTitles($SHDObject);
        $snippets  = $this->getPageSnippets($SHDObject);
        return array('urls'     => $urls,
                     'titles'   => $titles,
                     'snippets' => $snippets);
    }
public function fetch($url)
    {
        $SHDObject = $this->getSHDWrapper($url);
        $urls      = $this->getPageUrls($SHDObject);
        $titles    = $this->getPageTitles($SHDObject);
        $snippets  = $this->getPageSnippets($SHDObject);
        return array('urls'     => $urls,
                     'titles'   => $titles,
                     'snippets' => $snippets);
    }
public function fetch ( $ url ) { $ SHDObject = $ this -> getSHDWrapper ( $ url ) ; $ urls = $ this -> getPageUrls ( $ SHDObject ) ; $ titles = $ this -> getPageTitles ( $ SHDObject ) ; $ snippets = $ this -> getPageSnippets ( $ SHDObject ) ; return array ( 'urls' => $ urls , 'titles' => $ titles , 'snippets' => $ snippets ) ; }
Get a multidimensional array with urls, titles and snippets for a given
SERP url.
@param  string $url
@return array
Get a multidimensional array with urls titles and snippets for a given SERP url .