WordPress\AiClient\Files\ValueObjects

MimeType::__toStringpublicWP 0.1.0

Gets the string representation of the MIME type.

Method of the class: MimeType{}

No Hooks.

Returns

String. The MIME type value.

Usage

$MimeType = new MimeType();
$MimeType->__toString(): string;

Changelog

Since 0.1.0 Introduced.

MimeType::__toString() code WP 7.0

public function __toString(): string
{
    return $this->value;
}