Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\HttpKernel\Exception; Chris@0: Chris@0: /** Chris@0: * Interface for HTTP error exceptions. Chris@0: * Chris@0: * @author Kris Wallsmith Chris@0: */ Chris@0: interface HttpExceptionInterface Chris@0: { Chris@0: /** Chris@0: * Returns the status code. Chris@0: * Chris@0: * @return int An HTTP response status code Chris@0: */ Chris@0: public function getStatusCode(); Chris@0: Chris@0: /** Chris@0: * Returns response headers. Chris@0: * Chris@0: * @return array Response headers Chris@0: */ Chris@0: public function getHeaders(); Chris@0: }