original_string: protected function insertTableData(& $data, $useQueue = true)
      {
          $job = new DBInsert($this->service->getName(), $this->resource, $data);
          if ($useQueue !== true) {
              $job->onConnection('sync');
          }
  
          dispatch($job);
          $data = [];
      }
code: protected function insertTableData(& $data, $useQueue = true)
      {
          $job = new DBInsert($this->service->getName(), $this->resource, $data);
          if ($useQueue !== true) {
              $job->onConnection('sync');
          }
  
          dispatch($job);
          $data = [];
      }
code_tokens: protected function insertTableData ( & $ data , $ useQueue = true ) { $ job = new DBInsert ( $ this -> service -> getName ( ) , $ this -> resource , $ data ) ; if ( $ useQueue !== true ) { $ job -> onConnection ( 'sync' ) ; } dispatch ( $ job ) ; $ data = [ ] ; }
docstring: Inserts data into table
  
  @param      $data
  @param bool $useQueue
docstring_tokens: Inserts data into table