public function removeExcludedTables(array $tables): array
    {
        if (!$tables) {
            return [];
        }

        $filteredTables = [];
        $excludedTables = array_merge(
            [$this->db->schema->getRawTableName($this->migrationTable)],
            $this->excludeTables
        );

        foreach ($tables as $table) {
            if (!in_array($table, $excludedTables, true)) {
                $filteredTables[] = $table;
            }
        }

        return $filteredTables;
    }
public function removeExcludedTables(array $tables): array
    {
        if (!$tables) {
            return [];
        }

        $filteredTables = [];
        $excludedTables = array_merge(
            [$this->db->schema->getRawTableName($this->migrationTable)],
            $this->excludeTables
        );

        foreach ($tables as $table) {
            if (!in_array($table, $excludedTables, true)) {
                $filteredTables[] = $table;
            }
        }

        return $filteredTables;
    }
public function removeExcludedTables ( array $ tables ) : array { if ( ! $ tables ) { return [ ] ; } $ filteredTables = [ ] ; $ excludedTables = array_merge ( [ $ this -> db -> schema -> getRawTableName ( $ this -> migrationTable ) ] , $ this -> excludeTables ) ; foreach ( $ tables as $ table ) { if ( ! in_array ( $ table , $ excludedTables , true ) ) { $ filteredTables [ ] = $ table ; } } return $ filteredTables ; }
Removes excluded tables names from the tables list.
@param array $tables
@return array
@since 3.2.0
Removes excluded tables names from the tables list .