code: 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;
      }
docs: Returns a array containing ext api response
  
  @return bool|void