Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class Inflectible |
||
13 | { |
||
14 | /** |
||
15 | * @return Transformation[] |
||
16 | */ |
||
17 | 19 | public static function getSingular() : iterable |
|
18 | { |
||
19 | 19 | yield new Transformation(new Pattern('/l[ae]r$/i'), ''); |
|
|
|||
20 | 19 | } |
|
21 | |||
22 | /** |
||
23 | * @return Transformation[] |
||
24 | */ |
||
25 | 19 | public static function getPlural() : iterable |
|
29 | 19 | } |
|
30 | |||
31 | /** |
||
32 | * @return Substitution[] |
||
33 | */ |
||
34 | 19 | public static function getIrregular() : iterable |
|
39 | 19 | } |
|
40 | } |
||
41 |