Файловый менеджер - Редактировать - /var/www/html/administrator/components/com_jchat/Framework/twilio/sdk/Twilio/Http/Response.php
Ðазад
<?php namespace Twilio\Http; /** * * @package JCHAT::FRAMEWORK::administrator::components::com_jchat * @subpackage framework * @subpackage twilio * @subpackage sdk * @author Joomla! Extensions Store * @copyright (C) 2015 - Joomla! Extensions Store * @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html * */ defined ( '_JEXEC' ) or die ( 'Restricted access' ); class Response { protected $headers; protected $content; protected $statusCode; public function __construct($statusCode, $content, $headers = array()) { $this->statusCode = $statusCode; $this->content = $content; $this->headers = $headers; } /** * @return mixed */ public function getContent() { return json_decode($this->content, true); } /** * @return mixed */ public function getStatusCode() { return $this->statusCode; } public function getHeaders() { return $this->headers; } public function ok() { return $this->getStatusCode() < 400; } public function __toString() { return '[Response] HTTP ' . $this->getStatusCode() . ' ' . $this->getContent(); } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка