AccessDeniedHttpException.php
2 years ago
BadRequestHttpException.php
2 years ago
ConflictHttpException.php
2 years ago
ControllerDoesNotReturnResponseException.php
1 year ago
GoneHttpException.php
2 years ago
HttpException.php
2 years ago
HttpExceptionInterface.php
2 years ago
InvalidMetadataException.php
2 years ago
LengthRequiredHttpException.php
2 years ago
MethodNotAllowedHttpException.php
2 years ago
NotAcceptableHttpException.php
2 years ago
NotFoundHttpException.php
2 years ago
PreconditionFailedHttpException.php
2 years ago
PreconditionRequiredHttpException.php
2 years ago
ServiceUnavailableHttpException.php
2 years ago
TooManyRequestsHttpException.php
2 years ago
UnauthorizedHttpException.php
2 years ago
UnexpectedSessionUsageException.php
2 years ago
UnprocessableEntityHttpException.php
2 years ago
UnsupportedMediaTypeHttpException.php
2 years ago
HttpExceptionInterface.php
33 lines
| 1 | <?php |
| 2 | |
| 3 | /* |
| 4 | * This file is part of the Symfony package. |
| 5 | * |
| 6 | * (c) Fabien Potencier <fabien@symfony.com> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | namespace Matomo\Dependencies\Symfony\Component\HttpKernel\Exception; |
| 12 | |
| 13 | /** |
| 14 | * Interface for HTTP error exceptions. |
| 15 | * |
| 16 | * @author Kris Wallsmith <kris@symfony.com> |
| 17 | */ |
| 18 | interface HttpExceptionInterface extends \Throwable |
| 19 | { |
| 20 | /** |
| 21 | * Returns the status code. |
| 22 | * |
| 23 | * @return int |
| 24 | */ |
| 25 | public function getStatusCode(); |
| 26 | /** |
| 27 | * Returns response headers. |
| 28 | * |
| 29 | * @return array |
| 30 | */ |
| 31 | public function getHeaders(); |
| 32 | } |
| 33 |