/** * @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); } }
protected function exec($params) { $this->executedParams = $params; return parent::exec($params); }