Пример #1
0
 /**
  * @inheritdoc
  */
 public function parse(Response $response)
 {
     return $this->convertXmlToArray($response->getContent());
 }
 /**
  * @inheritdoc
  */
 public function parse(Response $response)
 {
     $data = [];
     parse_str($response->getContent(), $data);
     return $data;
 }
Пример #3
0
 /**
  * @inheritdoc
  */
 public function parse(Response $response)
 {
     return Json::decode($response->getContent());
 }
Пример #4
0
 /**
  * @inheritdoc
  */
 public function parse(Response $response)
 {
     return $response->getContent();
 }