| Total Complexity | 4 | 
| Total Lines | 31 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 13 | #[\Attribute(\Attribute::TARGET_METHOD)]  | 
            ||
| 14 | class Route  | 
            ||
| 15 | { | 
            ||
| 16 | |||
| 17 | public function __construct(protected string $method, protected string $uri, protected bool $secure = false)  | 
            ||
| 19 | |||
| 20 | }  | 
            ||
| 21 | |||
| 22 | /**  | 
            ||
| 23 | * @return string  | 
            ||
| 24 | */  | 
            ||
| 25 | public function getMethod(): string  | 
            ||
| 26 |     { | 
            ||
| 27 | return $this->method;  | 
            ||
| 28 | }  | 
            ||
| 29 | |||
| 30 | /**  | 
            ||
| 31 | * @return string  | 
            ||
| 32 | */  | 
            ||
| 33 | public function getUri(): string  | 
            ||
| 34 |     { | 
            ||
| 35 | return $this->uri;  | 
            ||
| 36 | }  | 
            ||
| 37 | |||
| 38 | /**  | 
            ||
| 39 | * @return bool  | 
            ||
| 40 | */  | 
            ||
| 41 | public function isSecure(): bool  | 
            ||
| 44 | }  | 
            ||
| 45 | |||
| 46 | }  |