protected function skipIgnoredParts(array $parts): int
    {
        $k = count($parts);

        while (--$k >= 0) {
            if (!$this->isIgnoredPart($parts[$k])) {
                break;
            }
        }

        return $k;
    }
protected function skipIgnoredParts(array $parts): int
    {
        $k = count($parts);

        while (--$k >= 0) {
            if (!$this->isIgnoredPart($parts[$k])) {
                break;
            }
        }

        return $k;
    }
protected function skipIgnoredParts ( array $ parts ) : int { $ k = count ( $ parts ) ; while ( -- $ k >= 0 ) { if ( ! $ this -> isIgnoredPart ( $ parts [ $ k ] ) ) { break ; } } return $ k ; }
skip through the parts we want to ignore and return the start index

@param array $parts
@return int
skip through the parts we want to ignore and return the start index