File: wp-includes/php-ai-client/src/Files/ValueObjects/MimeType.php
-
methodMimeType::__toString()
Gets the string representation of the MIME type.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/ValueObjects/MimeType.php:251 -
methodMimeType::isType()
Checks if this MIME type is a specific type.
Used by 4 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/ValueObjects/MimeType.php:166 -
methodMimeType::isImage()
Checks if this is an image MIME type.
Used by 0 functions | Uses 1 function | Source: wp-includes/php-ai-client/src/Files/ValueObjects/MimeType.php:177 -
methodMimeType::isAudio()
Checks if this is an audio MIME type.
Used by 0 functions | Uses 1 function | Source: wp-includes/php-ai-client/src/Files/ValueObjects/MimeType.php:188 -
methodMimeType::isVideo()
Checks if this is a video MIME type.
Used by 0 functions | Uses 1 function | Source: wp-includes/php-ai-client/src/Files/ValueObjects/MimeType.php:199 -
methodMimeType::isText()
Checks if this is a text MIME type.
Used by 0 functions | Uses 1 function | Source: wp-includes/php-ai-client/src/Files/ValueObjects/MimeType.php:210 -
methodMimeType::isDocument()
Checks if this is a document MIME type.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/ValueObjects/MimeType.php:221 -
methodMimeType::equals()
Checks if this MIME type equals another.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/ValueObjects/MimeType.php:234 -
Creates a MimeType from a file extension.
Used by 1 function | Uses 1 function | Source: wp-includes/php-ai-client/src/Files/ValueObjects/MimeType.php:134 -
methodMimeType::isValid()
Checks if a MIME type string is valid.
Used by 1 function | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/ValueObjects/MimeType.php:150 -
classMimeType
Value object representing a MIME type.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/ValueObjects/MimeType.php:15 -
methodMimeType::__construct()
Constructor.
Used by 3 functions | Uses 1 function | Source: wp-includes/php-ai-client/src/Files/ValueObjects/MimeType.php:101 -
methodMimeType::toExtension()
Gets the primary known file extension for this MIME type.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/ValueObjects/MimeType.php:116