WordPress\AiClient\Common\Contracts

WithArrayTransformationInterface::toArraypublicWP 0.1.0

Converts the object to an array representation.

Method of the class: WithArrayTransformationInterface{}

No Hooks.

Returns

TArrayShape. The array representation.

Usage

$WithArrayTransformationInterface = new WithArrayTransformationInterface();
$WithArrayTransformationInterface->toArray(): array;

Changelog

Since 0.1.0 Introduced.

WithArrayTransformationInterface::toArray() code WP 7.0

public function toArray(): array;