⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.103
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.22
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
php
/
Composer
/
Downloader
/
View File Name :
TransportException.php
* Jordi Boggiano
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\Downloader; /** * @author Jordi Boggiano
*/ class TransportException extends \RuntimeException { /** @var ?array
*/ protected $headers; /** @var ?string */ protected $response; /** @var ?int */ protected $statusCode; /** @var array
*/ protected $responseInfo = array(); /** * @param array
$headers * * @return void */ public function setHeaders($headers) { $this->headers = $headers; } /** * @return ?array
*/ public function getHeaders() { return $this->headers; } /** * @param ?string $response * * @return void */ public function setResponse($response) { $this->response = $response; } /** * @return ?string */ public function getResponse() { return $this->response; } /** * @param ?int $statusCode * * @return void */ public function setStatusCode($statusCode) { $this->statusCode = $statusCode; } /** * @return ?int */ public function getStatusCode() { return $this->statusCode; } /** * @return array
*/ public function getResponseInfo() { return $this->responseInfo; } /** * @param array
$responseInfo * * @return void */ public function setResponseInfo(array $responseInfo) { $this->responseInfo = $responseInfo; } }