| Total Complexity | 7 | 
| Total Lines | 21 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 7 | trait CheckTrait{ | 
            ||
| 8 | |||
| 9 | protected function check_protocol(string $expected, string $current)  | 
            ||
| 10 |     { | 
            ||
| 11 |         if($expected !== $current){ | 
            ||
| 12 |             throw new Exception('Page not found.',404); | 
            ||
| 13 | }  | 
            ||
| 14 | }  | 
            ||
| 15 | |||
| 16 |     protected function check_name(string $route_name){ | 
            ||
| 19 | }  | 
            ||
| 20 | }  | 
            ||
| 21 | |||
| 22 | protected function check_filtering(array $route)  | 
            ||
| 28 | }  | 
            ||
| 29 | }  | 
            ||
| 31 | }  |