| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class AdapterFactory implements AdapterFactoryInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @param iterable<ConcreteAdapterFactoryInterface> $cacheConcreteAdapterFactoryCollection |
||
| 23 | */ |
||
| 24 | 5 | public function __construct( |
|
| 25 | private readonly CachePluginConfigurationInterface $cachePluginConfiguration, |
||
| 26 | private readonly iterable $cacheConcreteAdapterFactoryCollection |
||
| 27 | ) { |
||
| 28 | 5 | } |
|
| 29 | |||
| 30 | 5 | public function create(string $cachePoolName): CacheItemPoolInterface |
|
| 51 | } |
||
| 52 | } |
||
| 53 |