| Total Complexity | 2 | 
| Total Lines | 16 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 7 | class CachedWordInflector implements WordInflector  | 
            ||
| 8 | { | 
            ||
| 9 | /** @var WordInflector */  | 
            ||
| 10 | private $wordInflector;  | 
            ||
| 11 | |||
| 12 | /** @var string[] */  | 
            ||
| 13 | private $cache = [];  | 
            ||
| 14 | |||
| 15 | 530 | public function __construct(WordInflector $wordInflector)  | 
            |
| 18 | 530 | }  | 
            |
| 19 | |||
| 20 | 514 | public function inflect(string $word) : string  | 
            |
| 25 |