WordPress\AiClient\Operations\DTO

GenerativeAiOperation::getResultpublicWP 0.1.0

Gets the operation result.

Method of the class: GenerativeAiOperation{}

No Hooks.

Returns

GenerativeAiResult|null. The result or null if not yet complete.

Usage

$GenerativeAiOperation = new GenerativeAiOperation();
$GenerativeAiOperation->getResult(): ?GenerativeAiResult;

Changelog

Since 0.1.0 Introduced.

GenerativeAiOperation::getResult() code WP 7.0

public function getResult(): ?GenerativeAiResult
{
    return $this->result;
}