Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | final class LowerCaseConverter implements Formatter |
||
12 | { |
||
13 | use Chaining; |
||
14 | |||
15 | /** |
||
16 | * @var Coder Lower case coder. |
||
17 | */ |
||
18 | private $lowerCaseCoder; |
||
19 | |||
20 | /** |
||
21 | * @var CharTree[] Memoization of formatted character trees. |
||
22 | */ |
||
23 | private static $memoization = []; |
||
24 | |||
25 | 7 | public function __construct() |
|
28 | 7 | } |
|
29 | |||
30 | /** |
||
31 | * @param CharTree $charTree Character tree to format. |
||
32 | * @return CharTree Lower case converted variant of the character tree. |
||
33 | */ |
||
34 | 7 | protected function applyCurrent(CharTree $charTree): CharTree |
|
46 |