public function get($url, $data = array())
    {
        $client = $this->getClient();

        return $client->request('GET', $url, array('query' => $data));
    }
public function get($url, $data = array())
    {
        $client = $this->getClient();

        return $client->request('GET', $url, array('query' => $data));
    }
public function get ( $ url , $ data = array ( ) ) { $ client = $ this -> getClient ( ) ; return $ client -> request ( 'GET' , $ url , array ( 'query' => $ data ) ) ; }
Perform GET request

@param string url
@param array data

@return string content
Perform GET request