4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\HttpKernel\Exception;
15 * Interface for HTTP error exceptions.
17 * @author Kris Wallsmith <kris@symfony.com>
19 interface HttpExceptionInterface
22 * Returns the status code.
24 * @return int An HTTP response status code
26 public function getStatusCode();
29 * Returns response headers.
31 * @return array Response headers
33 public function getHeaders();