__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Part of the Joomla Framework Http Package
*
* @copyright Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
namespace Joomla\Http;
use Laminas\Diactoros\Response as PsrResponse;
/**
* HTTP response data object class.
*
* @property-read string $body The response body as a string
* @property-read integer $code The status code of the response
* @property-read array $headers The headers as an array
*
* @since 1.0
*/
class Response extends PsrResponse
{
/**
* Magic getter for backward compatibility with the 1.x API
*
* @param string $name The variable to return
*
* @return mixed
*
* @since 2.0.0
* @deprecated 3.0 Access data via the PSR-7 ResponseInterface instead
*/
public function __get($name)
{
switch (strtolower($name)) {
case 'body':
return (string) $this->getBody();
case 'code':
return $this->getStatusCode();
case 'headers':
return $this->getHeaders();
default:
$trace = debug_backtrace();
trigger_error(
sprintf(
'Undefined property via __get(): %s in %s on line %s',
$name,
$trace[0]['file'],
$trace[0]['line']
),
E_USER_NOTICE
);
break;
}
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Exception | Folder | 0775 |
|
|
| Transport | Folder | 0775 |
|
|
| AbstractTransport.php | File | 2.3 KB | 0664 |
|
| Http.php | File | 10.07 KB | 0664 |
|
| HttpFactory.php | File | 3.59 KB | 0664 |
|
| Response.php | File | 1.58 KB | 0664 |
|
| TransportInterface.php | File | 1.38 KB | 0664 |
|