WordPress\AiClient\Messages\DTO

MessagePart::getFunctionCallpublicWP 0.1.0

Gets the function call.

Method of the class: MessagePart{}

No Hooks.

Returns

FunctionCall|null. The function call or null if not a function call part.

Usage

$MessagePart = new MessagePart();
$MessagePart->getFunctionCall(): ?FunctionCall;

Changelog

Since 0.1.0 Introduced.

MessagePart::getFunctionCall() code WP 7.0

public function getFunctionCall(): ?FunctionCall
{
    return $this->functionCall;
}