Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | 1 | #[Override] |
|
32 | 1 | protected function configure(): void |
|
33 | 1 | { |
|
34 | $this->bind(AdapterInterface::class)->annotatedWith(ResourceObjectPool::class)->to(MemcachedAdapter::class); |
||
35 | $this->install(new Psr6MemcachedModule($this->servers)); |
||
36 | $this->bind(TagAwareAdapterInterface::class)->annotatedWith(ResourceObjectPool::class)->toConstructor( |
||
37 | TagAwareAdapter::class, |
||
38 | [ |
||
39 | 'itemsPool' => ResourceObjectPool::class, |
||
40 | 'tagsPool' => TagsPool::class, |
||
41 | 'namespace' => CacheNamespace::class, |
||
42 | ], |
||
46 |