1 | <?php |
||
2 | declare(strict_types = 1); |
||
3 | namespace Mezon\Router; |
||
4 | |||
5 | /** |
||
6 | * Trait ParamRoutes |
||
7 | * |
||
8 | * @package Router |
||
9 | * @author Dodonov A.A. |
||
10 | * @version v.1.0 (2021/09/27) |
||
11 | * @copyright Copyright (c) 2021, http://aeon.su |
||
12 | */ |
||
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}>}>> |
||
0 ignored issues
–
show
Documentation
Bug
introduced
by
![]() |
|||
20 | */ |
||
21 | protected $paramRoutes = [ |
||
22 | 'GET' => [], |
||
23 | 'POST' => [], |
||
24 | 'PUT' => [], |
||
25 | 'DELETE' => [], |
||
26 | 'OPTION' => [], |
||
27 | 'PATCH' => [] |
||
28 | ]; |
||
29 | } |
||
30 |