Download Image .getBody().readfile() echos image to phpStore debug Console.

14 views
Skip to first unread message

jam...@round2consulting.com

unread,
Jan 9, 2016, 2:07:23 PM1/9/16
to Guzzle - PHP HTTP client and REST client framework
I am using phpStorm as my IDE and when debugging my code, the image is echoed to the console.  Everything is working fine except for my console is being cluttered up that makes it hard to see the stuff I need to see.  Is there a way to turn that off? Some Code.  

$this->client = new Client();
$result = $this->client->request('GET',$this->url,$this->buildAuth($headers));
$result->getBody().readfile($filename)

Thanks for your help. 
Reply all
Reply to author
Forward
0 new messages