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