Файловый менеджер - Редактировать - /home/lexlmvtu/public_html/wp-content/plugins/w3-total-cache/lib/Aws/Aws/Api/ErrorParser/JsonRpcErrorParser.php
Назад
<?php namespace Aws\Api\ErrorParser; use Psr\Http\Message\ResponseInterface; /** * Parsers JSON-RPC errors. */ class JsonRpcErrorParser { use JsonParserTrait; public function __invoke(ResponseInterface $response) { $data = $this->genericHandler($response); // Make the casing consistent across services. if ($data['parsed']) { $data['parsed'] = array_change_key_case($data['parsed']); } if (isset($data['parsed']['__type'])) { $parts = explode('#', $data['parsed']['__type']); $data['code'] = isset($parts[1]) ? $parts[1] : $parts[0]; $data['message'] = isset($data['parsed']['message']) ? $data['parsed']['message'] : null; } return $data; } }
| ver. 1.4 |
Github
|
.
| PHP 7.2.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка