1 | <?php |
||
14 | final class Priority |
||
15 | { |
||
16 | public const P10 = '1.0'; |
||
17 | |||
18 | public const P9 = '0.9'; |
||
19 | |||
20 | public const P8 = '0.8'; |
||
21 | |||
22 | public const P7 = '0.7'; |
||
23 | |||
24 | public const P6 = '0.6'; |
||
25 | |||
26 | public const P5 = '0.5'; |
||
27 | |||
28 | public const P4 = '0.4'; |
||
29 | |||
30 | public const P3 = '0.3'; |
||
31 | |||
32 | public const P2 = '0.2'; |
||
33 | |||
34 | public const P1 = '0.1'; |
||
35 | |||
36 | public const P0 = '0.0'; |
||
37 | |||
38 | /** |
||
39 | * @param string $loc |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | public static function getByLoc(string $loc): string |
||
58 | } |
||
59 |