MediaTypePattern
final class MediaTypePattern (View source)
Methods
__construct(string $mediaTypePattern)
Currently only image/* media types are allowed, because asset variant presets lack support for other types, such as audio, document or video.
bool
matches(string $mediaType)
No description
string
getMediaTypePattern()
No description
string
__toString()
No description
Details
__construct(string $mediaTypePattern)
Currently only image/* media types are allowed, because asset variant presets lack support for other types, such as audio, document or video.
bool
matches(string $mediaType)
No description
string
getMediaTypePattern()
No description
string
__toString()
No description