private function download($apiUrl) { $args = func_get_args(); $args[0] = $this->context->getToken(); $this->requestUrl = $this->context->getUrl() . vsprintf($apiUrl, $args); return $this->context->getQueue()->download($this->context->getToken(), $this->requestUrl); }
/** @return string */ private function getUrl() { return $this->context->getUrl() . 'import/'; }