| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 10 | final class CommodityCache implements CommodityCacheInterface |
||
| 11 | { |
||
| 12 | private CommodityRepositoryInterface $commodityRepository; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array<int, CommodityInterface>|null |
||
| 16 | */ |
||
| 17 | private ?array $commodityArray = null; |
||
| 18 | |||
| 19 | public function __construct( |
||
| 23 | } |
||
| 24 | |||
| 25 | public function get(int $commodityId): CommodityInterface |
||
| 34 |