Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
RouteRequest | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace PeServer\Core\Mvc; |
6 | |
7 | use PeServer\Core\Http\HttpMethod; |
8 | use PeServer\Core\Http\RequestPath; |
9 | |
10 | /** |
11 | */ |
12 | readonly class RouteRequest |
13 | { |
14 | public function __construct( |
15 | public HttpMethod $method, |
16 | public RequestPath $path |
17 | ) { |
18 | } |
19 | } |