Mime::matches() Tests if a MIME wildcard pattern from an Accept header matches a given type Since 3.3.0 kirby/src/Toolkit/Mime.php#L254 Mime::matches(string $test, string $wildcard): bool Parameters Name Type Default $test * string – $wildcard * string – Return type bool Parent class Kirby\Toolkit\Mime