PHP 8.3.31
Preview: HttpResponseException.php Size: 972 B
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Http/Exceptions/HttpResponseException.php

<?php

namespace Illuminate\Http\Exceptions;

use RuntimeException;
use Symfony\Component\HttpFoundation\Response;
use Throwable;

class HttpResponseException extends RuntimeException
{
    /**
     * The underlying response instance.
     *
     * @var \Symfony\Component\HttpFoundation\Response
     */
    protected $response;

    /**
     * Create a new HTTP response exception instance.
     *
     * @param  \Symfony\Component\HttpFoundation\Response  $response
     * @param  \Throwable  $previous
     * @return void
     */
    public function __construct(Response $response, ?Throwable $previous = null)
    {
        parent::__construct($previous?->getMessage() ?? '', $previous?->getCode() ?? 0, $previous);

        $this->response = $response;
    }

    /**
     * Get the underlying response instance.
     *
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function getResponse()
    {
        return $this->response;
    }
}

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
972 B lrw-rw-rw- 2025-09-17 06:53:03
Edit Download
597 B lrw-rw-rw- 2025-09-17 06:53:03
Edit Download
633 B lrw-rw-rw- 2025-09-17 06:53:03
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).