WordPress\AiClient\Tools\DTO

FunctionResponse::getNamepublicWP 0.1.0

Gets the function name.

Method of the class: FunctionResponse{}

No Hooks.

Returns

String|null. The function name.

Usage

$FunctionResponse = new FunctionResponse();
$FunctionResponse->getName(): ?string;

Changelog

Since 0.1.0 Introduced.

FunctionResponse::getName() code WP 7.0.2

public function getName(): ?string
{
    return $this->name;
}