New and updated in 0.1.0
-
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 -
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 -
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 -
classMediaOrientationEnum
Represents the type of file storage.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/Enums/MediaOrientationEnum.php:19 -
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 -
methodFile::isMimeType()
Checks if the file is a specific MIME type.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:296 -
Determines the MIME type from various sources.
Used by 1 function | Uses 2 functions | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:311 -
methodFile::getJsonSchema()
{@inheritDoc}
Used by 1 function | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:347 -
methodFile::toArray()
{@inheritDoc}
Used by 0 functions | Uses 1 function | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:358 -
methodFile::fromArray()
{@inheritDoc}
-
classFileTypeEnum
Represents the type of file storage.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/Enums/FileTypeEnum.php:17 -
methodFile::isText()
Checks if the file is text.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:272 -
methodFile::isDocument()
Checks if the file is a document.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:283 -
methodFile::getMimeType()
Gets the MIME type of the file as a string.
Used by 2 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:217 -
Gets the MIME type object.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:228 -
methodFile::isVideo()
Checks if the file is a video.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:239 -
methodFile::isImage()
Checks if the file is an image.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:250 -
methodFile::isAudio()
Checks if the file is audio.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:261 -
methodFile::getFileType()
Gets the file type.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:148 -
methodFile::isInline()
Checks if the file is an inline file.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:159 -
methodFile::isRemote()
Checks if the file is a remote file.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:170 -
methodFile::getUrl()
Gets the URL for remote files.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:181 -
methodFile::getBase64Data()
Gets the base64-encoded data for inline files.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:192 -
methodFile::getDataUri()
Gets the data as a data URI for inline files.
Used by 0 functions | Uses 1 function | Source: wp-includes/php-ai-client/src/Files/DTO/File.php:203