Mime::matches()
Tests if a MIME wildcard pattern from an Accept
header matches a given type
Mime::matches(string $test, string $wildcard): bool
Parameters
Name | Type | Default |
---|---|---|
$testrequired | string |
no default value |
$wildcardrequired | string |
no default value |
Return type
bool