Automattic\WooCommerce\StoreApi\Routes\V1\Agentic\Messages
Message::to_array
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() Message::to array code WC 10.7.0
abstract public function to_array(): array;