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;
    }
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;
    }
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 ; }
Evaluate, from the configuration if I have to update or Truncate the table

@return int
@throws NeuralyzerConfigurationException
Evaluate from the configuration if I have to update or Truncate the table