| 1 | <?php |
||
| 14 | class NotModifiedException extends \Exception implements HttpExceptionInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var Response |
||
| 18 | */ |
||
| 19 | protected $response; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param Response $response |
||
| 23 | * @param int $code |
||
| 24 | * @param \Exception|null $previous |
||
| 25 | */ |
||
| 26 | 3 | public function __construct(Response $response, $code = 0, \Exception $previous = null) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @return Response |
||
| 39 | */ |
||
| 40 | 2 | public function getResponse() |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return int |
||
| 47 | */ |
||
| 48 | 1 | public function getStatusCode() |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @return array |
||
| 55 | */ |
||
| 56 | 1 | public function getHeaders() |
|
| 60 | } |
||
| 61 |