Total Complexity | 0 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
13 | trait ParamRoutes |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * List of non static routes |
||
18 | * |
||
19 | * @var array<string, array<array-key, array{pattern: string, callback: array{0: string, 1:string}|callable|string}|array{bunch: array<int<1, max>, array{callback: mixed, pattern: string}>}>> |
||
|
|||
20 | */ |
||
21 | protected $paramRoutes = [ |
||
22 | 'GET' => [], |
||
23 | 'POST' => [], |
||
24 | 'PUT' => [], |
||
25 | 'DELETE' => [], |
||
26 | 'OPTION' => [], |
||
27 | 'PATCH' => [] |
||
28 | ]; |
||
30 |