code: public function getApi()
      {
          if ($this->api === null) {
              $this->api = new ExtDirectApi($this->useCache(), $this->getApplicationPath(), $this->getApplicationNameSpace());
          }
          return $this->api;
      }
docs: Returns ExtDirectApi instance
  
  @return ExtDirectApi