Файловый менеджер - Редактировать - /var/www/html/libraries/vendor/tobscure/json-api/src/Exception/Handler/ResponseBag.php
Ðазад
<?php /* * This file is part of JSON-API. * * (c) Toby Zerner <toby.zerner@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tobscure\JsonApi\Exception\Handler; /** * DTO to manage JSON error response handling. */ class ResponseBag { private $status; private $errors; /** * @param int $status * @param array $errors */ public function __construct($status, array $errors) { $this->status = $status; $this->errors = $errors; } /** * @return array */ public function getErrors() { return $this->errors; } /** * @return int */ public function getStatus() { return $this->status; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка