| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class SettingsCache implements SettingsCacheInterface |
||
| 10 | { |
||
| 11 | /** @var Collection<int, SettingsInterface> */ |
||
| 12 | private Collection $settings; |
||
| 13 | |||
| 14 | 5 | public function __construct(private SettingsFactoryInterface $settingsFactory) |
|
| 15 | { |
||
| 16 | 5 | $this->settings = new ArrayCollection(); |
|
| 17 | } |
||
| 18 | |||
| 19 | 5 | public function getSettings(StuConfigSettingEnum $type, ?SettingsInterface $parent): SettingsInterface |
|
| 33 | } |
||
| 34 | } |
||
| 35 |