original_string: protected function whatToDoWithEntity(): int
      {
          $this->checkEntityIsInConfig();
  
          $entityConfig = $this->configEntities[$this->entity];
  
          $actions = 0;
          if (array_key_exists('cols', $entityConfig)) {
              switch ($entityConfig['action']) {
                  case 'update':
                      $actions |= self::UPDATE_TABLE;
                      break;
                  case 'insert':
                      $actions |= self::INSERT_TABLE;
                      break;
              }
          }
  
          return $actions;
      }
code: protected function whatToDoWithEntity(): int
      {
          $this->checkEntityIsInConfig();
  
          $entityConfig = $this->configEntities[$this->entity];
  
          $actions = 0;
          if (array_key_exists('cols', $entityConfig)) {
              switch ($entityConfig['action']) {
                  case 'update':
                      $actions |= self::UPDATE_TABLE;
                      break;
                  case 'insert':
                      $actions |= self::INSERT_TABLE;
                      break;
              }
          }
  
          return $actions;
      }
code_tokens: protected function whatToDoWithEntity ( ) : int { $ this -> checkEntityIsInConfig ( ) ; $ entityConfig = $ this -> configEntities [ $ this -> entity ] ; $ actions = 0 ; if ( array_key_exists ( 'cols' , $ entityConfig ) ) { switch ( $ entityConfig [ 'action' ] ) { case 'update' : $ actions |= self :: UPDATE_TABLE ; break ; case 'insert' : $ actions |= self :: INSERT_TABLE ; break ; } } return $ actions ; }
docstring: Evaluate, from the configuration if I have to update or Truncate the table
  
  @return int
  @throws NeuralyzerConfigurationException
docstring_tokens: Evaluate from the configuration if I have to update or Truncate the table