Last active
August 29, 2015 14:19
-
-
Save hannesvdvreken/e87a2a73b5d3df49d572 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
<?php | |
$client = new \GuzzleHttp\Client(); | |
if ('production' !== getenv('APP_ENV')) { | |
$client->addSubscriber($logSubscriber); | |
$client->addSubscriber($debugBarSubscriber); | |
} | |
return $client; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment