1 | <?php |
||
14 | abstract class Range extends \Range { |
||
15 | |||
16 | /** |
||
17 | * Translate a value accordingly to an active language |
||
18 | * |
||
19 | * @return string|mixed : the translated value or the raw value if the phrase does not exist |
||
20 | */ |
||
21 | |||
22 | private static function translate($value) { |
||
26 | |||
27 | /** |
||
28 | * Get a translated item value by a key |
||
29 | * |
||
30 | * @return mixed|null : the value if the key exists, otherwise null |
||
31 | */ |
||
32 | |||
33 | public static function get($key) { |
||
37 | |||
38 | /** |
||
39 | * Get the translated range array |
||
40 | */ |
||
41 | |||
42 | public static function getRange() : array { |
||
46 | } |
||
47 | } |
||
48 |