public function getApiAsArray()
    {
        if ($this->useCache()) {
            if ($this->getExtCache()->isApiCached()) {
                return $this->getExtCache()->getApi();
            }
        }

        $api = $this->generateApi();

        if ($this->useCache()) {
            $this->getExtCache()->cacheApi($api);
        }

        return $api;
    }
public function getApiAsArray()
    {
        if ($this->useCache()) {
            if ($this->getExtCache()->isApiCached()) {
                return $this->getExtCache()->getApi();
            }
        }

        $api = $this->generateApi();

        if ($this->useCache()) {
            $this->getExtCache()->cacheApi($api);
        }

        return $api;
    }
Returns a array containing ext api response

@return bool|void