Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | protected function configure(): void |
||
21 | { |
||
22 | // Bind ResourceObjectPool to local cache (APCu or File) |
||
23 | $this->bind(AdapterInterface::class)->annotatedWith(ResourceObjectPool::class)->toProvider(LocalCacheProvider::class); |
||
24 | // Boost the performance of symfony/cache |
||
25 | $this->bind()->annotatedWith(KnownTagTtl::class)->toInstance(0.15); |
||
26 | } |
||
28 |