예제 #1
0
파일: JsonMap.php 프로젝트: keboola/juicer
 public function getMetadata()
 {
     return empty($this->fallback) ? [] : $this->fallback->getMetadata();
 }
예제 #2
0
파일: Job.php 프로젝트: keboola/juicer
 /**
  * Parse the result into a CSV (either using any of built-in parsers, or using own methods).
  *
  * @param object $response
  * @param array $parentId ID (or list thereof) to be passed to parser
  */
 protected function parse(array $data, array $parentId = null)
 {
     $this->parser->process($data, $this->getDataType(), $parentId);
 }