| 1 | <?php |
||
| 8 | abstract class NotFound |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | protected $path; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $fullUrl; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var \DateTime |
||
| 22 | */ |
||
| 23 | protected $timestamp; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $referer; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string $path |
||
| 32 | * @param string $fullUrl |
||
| 33 | * @param string|null $referer |
||
| 34 | */ |
||
| 35 | 20 | public function __construct($path, $fullUrl, $referer = null, \DateTime $timestamp = null) |
|
| 53 | |||
| 54 | /** |
||
| 55 | * @return string |
||
| 56 | */ |
||
| 57 | 18 | public function getPath() |
|
| 61 | |||
| 62 | /** |
||
| 63 | * @return string |
||
| 64 | */ |
||
| 65 | 17 | public function getFullUrl() |
|
| 69 | |||
| 70 | /** |
||
| 71 | * @return \DateTime |
||
| 72 | */ |
||
| 73 | 16 | public function getTimestamp() |
|
| 77 | |||
| 78 | /** |
||
| 79 | * @return string|null |
||
| 80 | */ |
||
| 81 | 17 | public function getReferer() |
|
| 85 | } |
||
| 86 |