WordPress\AiClient\Common\Contracts
WithArrayTransformationInterface::toArray
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() WithArrayTransformationInterface::toArray code WP 7.0
public function toArray(): array;