| Total Complexity | 2 | 
| Total Lines | 26 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 22 | class RedirectException extends Exception | ||
| 23 | { | ||
| 24 | /** | ||
| 25 | * @var string Path on which to be redirected. | ||
| 26 | */ | ||
| 27 | private $path = ''; | ||
| 28 | |||
| 29 | /** | ||
| 30 | * Set path. | ||
| 31 | * | ||
| 32 | * @param string $path Path on which to be redirected. | ||
| 33 | * @return void | ||
| 34 | */ | ||
| 35 | public function setPath(string $path): void | ||
| 36 |     { | ||
| 37 | $this->path = $path; | ||
| 38 | } | ||
| 39 | |||
| 40 | /** | ||
| 41 | * Get path. | ||
| 42 | * | ||
| 43 | * @return string Path on which to be redirected. | ||
| 44 | */ | ||
| 45 | public function getPath(): string | ||
| 48 | } | ||
| 49 | } | ||
| 50 |