_simpy, $name), $args ); } catch (Exception $e) { } $response = $this->_simpy ->getHttpClient() ->getLastResponse() ->getBody(); $file = $this->_getFilePath($name); file_put_contents($file, $response); if (isset($e)) { throw $e; } return $return; } }