/**
  * @inheritdoc
  */
 protected function validateResponse(array $json)
 {
     if (!isset($json['prices']) || !is_array($json['prices'])) {
         throw new Exception('prices array property expected');
     }
     foreach ($json['prices'] as $price) {
         parent::validateResponse($price);
     }
 }
示例#2
0
 protected function exec($params)
 {
     $this->executedParams = $params;
     return parent::exec($params);
 }