Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class IntegerRouterType |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * Method returns regexp for searching |
||
14 | * |
||
15 | * @return string regexp for searching |
||
16 | */ |
||
17 | public static function searchRegExp(): string |
||
18 | { |
||
19 | return '(\[i:'.BaseType::PARAMETER_NAME_REGEXP.'+\])'; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Method returns regexp for parsing |
||
24 | * |
||
25 | * @return string regexp for parsing |
||
26 | */ |
||
27 | public static function parserRegExp(): string |
||
30 | } |
||
31 | } |
||
32 |