Created
August 14, 2014 02:53
-
-
Save nachopants/887da1dd2e556044585e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
guzzle.client.class: Guzzle\Http\Client | |
guzzle.classsuper.client: | |
class: %guzzle.client.class% | |
arguments: [%class.baseurl%, [auth, [%class.auth.username%,%class.auth.password%,basic]]] | |
use Misd\GuzzleBundle\MisdGuzzleBundle; | |
$client = $this->get('guzzle.classsuper.client'); | |
$request = $client->get(); | |
echo $response = $request->send()->getBody(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment