public function getMetadata() { return empty($this->fallback) ? [] : $this->fallback->getMetadata(); }
/** * 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); }