| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 4 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 10 | final class LowerCaseConverter extends Coder |
||
| 11 | { |
||
| 12 | use Chaining; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array<CharTree> Memoization of formatted character trees. |
||
| 16 | */ |
||
| 17 | private static $memoization = []; |
||
| 18 | |||
| 19 | 7 | public function __construct() |
|
| 22 | 7 | } |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @param CharTree $charTree Character tree to format. |
||
| 26 | * @return CharTree Lower case converted variant of the character tree. |
||
| 27 | */ |
||
| 28 | 7 | protected function applyCurrent(CharTree $charTree): CharTree |
|
| 40 |