/** * Extracts an ISO * * @param ExtractIsoData $requestData request data object * @return ExtractTemplateResponseData */ public function extractIso(ExtractIsoData $requestData) { $result = null; $response = $this->getClient()->call('extractIso', $requestData->toArray()); if ($response->hasError() === false) { $resultObject = $response->getResult(); if (!empty($resultObject)) { $result = $this->_loadExtractTemplateData($resultObject); } } return $result; }
/** * Extracts an ISO * * @param ExtractIsoData|array $request request data object * @return ExtractTemplateResponseData */ public function extract($request) { if ($request !== null && !$request instanceof ExtractIsoData) { $request = ExtractIsoData::initArray($request); } return $this->getApiHandler()->extractIso($request); }