Automattic\WooCommerce\StoreApi\Routes\V1\Agentic\Messages

Message::to_arraypublicWC 1.0

Convert the message to an array.

Method of the class: Message{}

No Hooks.

Returns

Array. A message for the messages array of the response.

Usage

$Message = new Message();
$Message->to_array(): array;

Message::to_array() code WC 10.7.0

abstract public function to_array(): array;