WordPress\AiClient\Files\DTO

File::getMimeTypeObjectpublicWP 0.1.0

Gets the MIME type object.

Method of the class: File{}

No Hooks.

Returns

MimeType. The MIME type object.

Usage

$File = new File();
$File->getMimeTypeObject(): MimeType;

Changelog

Since 0.1.0 Introduced.

File::getMimeTypeObject() code WP 7.0

public function getMimeTypeObject(): MimeType
{
    return $this->mimeType;
}