protected function colIgnored(string $table, string $col): bool
    {
        if ($this->protectCols === false) {
            return false;
        }

        foreach ($this->protectedCols as $protectedCol) {
            if (preg_match("/^$protectedCol\$/", $table . '.' . $col)) {
                return true;
            }
        }

        return false;
    }
protected function colIgnored(string $table, string $col): bool
    {
        if ($this->protectCols === false) {
            return false;
        }

        foreach ($this->protectedCols as $protectedCol) {
            if (preg_match("/^$protectedCol\$/", $table . '.' . $col)) {
                return true;
            }
        }

        return false;
    }
protected function colIgnored ( string $ table , string $ col ) : bool { if ( $ this -> protectCols === false ) { return false ; } foreach ( $ this -> protectedCols as $ protectedCol ) { if ( preg_match ( "/^$protectedCol\$/" , $ table . '.' . $ col ) ) { return true ; } } return false ; }
Check if that col has to be ignored

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