public function getContent($url)
    {
        $this->getRequest()->setHost($url);
        $this->getClient()->send(
            $this->getRequest(),
            $this->getResponse()
        );

        return $this->getResponse()->getContent();
    }
public function getContent($url)
    {
        $this->getRequest()->setHost($url);
        $this->getClient()->send(
            $this->getRequest(),
            $this->getResponse()
        );

        return $this->getResponse()->getContent();
    }
public function getContent ( $ url ) { $ this -> getRequest ( ) -> setHost ( $ url ) ; $ this -> getClient ( ) -> send ( $ this -> getRequest ( ) , $ this -> getResponse ( ) ) ; return $ this -> getResponse ( ) -> getContent ( ) ; }
Retrieve the contents from a given url.

@param  string $url
@return string
Retrieve the contents from a given url .