protected function tableIgnored(string $table): bool
    {
        foreach ($this->ignoredTables as $ignoredTable) {
            if (preg_match("/^$ignoredTable\$/", $table)) {
                return true;
            }
        }

        return false;
    }
protected function tableIgnored(string $table): bool
    {
        foreach ($this->ignoredTables as $ignoredTable) {
            if (preg_match("/^$ignoredTable\$/", $table)) {
                return true;
            }
        }

        return false;
    }
protected function tableIgnored ( string $ table ) : bool { foreach ( $ this -> ignoredTables as $ ignoredTable ) { if ( preg_match ( "/^$ignoredTable\$/" , $ table ) ) { return true ; } } return false ; }
Check if that table has to be ignored

@param  string $table
@return bool
Check if that table has to be ignored