/**
  * Devuelve la instancia del singleton
  *
  * @return AsyncSearch
  */
 public static function getInstance()
 {
     if (!self::$instance) {
         self::$instance = new AsyncSearch();
     }
     return self::$instance;
 }
 public function executeAsyncRecordFinderProductos()
 {
     try {
         return $this->renderText(AsyncSearch::getInstance()->productos());
     } catch (Exception $e) {
         $this->response->setStatusCode(500, 'Server Error');
         $this->logMessage($e->getMessage(), 'err');
         return $this->renderText('Error ' . $e->getMessage());
     }
 }