Exemplo n.º 1
0
 /**
  * @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);
     }
 }
Exemplo n.º 2
0
 protected function exec($params)
 {
     $this->executedParams = $params;
     return parent::exec($params);
 }