private function patternMatch(string $pattern, string $string) : bool { return fnmatch($pattern, $string); }