Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | class MapStep implements PrepareStep |
||
14 | { |
||
15 | /** |
||
16 | * Whether to apply case folding. |
||
17 | * |
||
18 | * @var bool |
||
19 | */ |
||
20 | protected $_fold; |
||
21 | |||
22 | /** |
||
23 | * Constructor. |
||
24 | * |
||
25 | * @param bool $fold_case Whether to apply case folding |
||
26 | */ |
||
27 | 38 | public function __construct(bool $fold_case = false) |
|
30 | 38 | } |
|
31 | |||
32 | /** |
||
33 | * @param string $string UTF-8 encoded string |
||
34 | * |
||
35 | * @return string |
||
36 | */ |
||
37 | 37 | public function apply(string $string): string |
|
46 |