|
1 |
| -parameters: |
2 |
| - php_fast_cache.phpfastcache.class: Phpfastcache\Bundle\Service\Phpfastcache |
3 |
| - php_fast_cache.human_readable.class: Phpfastcache\Bundle\Twig\HumanReadableExtension\Extension |
4 |
| - php_fast_cache.twig_cache.class: Phpfastcache\Bundle\Twig\CacheExtension\Extension |
5 |
| - php_fast_cache.twig_cache_stategy.class: Phpfastcache\Bundle\Twig\CacheExtension\CacheStrategy\LifetimeCacheStrategy |
6 |
| - php_fast_cache.twig_cache_provider.class: Phpfastcache\Bundle\Twig\CacheExtension\CacheProvider\PsrCacheAdapter |
7 |
| - |
8 | 1 | services:
|
9 | 2 | Phpfastcache\Bundle\Service\Phpfastcache:
|
10 | 3 | autowire: true
|
11 | 4 | public: false
|
12 | 5 | arguments:
|
13 |
| - - "%phpfastcache%" |
14 |
| - - "@?debug.stopwatch" |
| 6 | + - '%phpfastcache%' |
| 7 | + - '@?debug.stopwatch' |
15 | 8 | Phpfastcache\Bundle\Command\PhpfastcacheCommand:
|
16 | 9 | arguments: ['@Phpfastcache\Bundle\Service\Phpfastcache', '%phpfastcache%']
|
17 | 10 | tags:
|
18 | 11 | - { name: console.command }
|
19 |
| - phpfastcache.human_readable_size: |
20 |
| - class: "%php_fast_cache.human_readable.class%" |
| 12 | + Phpfastcache\Bundle\Twig\HumanReadableExtension\Extension: |
21 | 13 | tags:
|
22 | 14 | - { name: twig.extension }
|
23 | 15 | phpfastcache.twig_cache_driver_provider:
|
24 |
| - class: "%php_fast_cache.phpfastcache.class%" |
| 16 | + class: 'Phpfastcache\Bundle\Service\Phpfastcache' |
25 | 17 | factory: 'Phpfastcache\Bundle\Service\Phpfastcache:getTwigCacheInstance'
|
26 |
| - phpfastcache.twig_cache_provider: |
27 |
| - class: "%php_fast_cache.twig_cache_provider.class%" |
| 18 | + Phpfastcache\Bundle\Twig\CacheExtension\CacheProvider\PsrCacheAdapter: |
28 | 19 | arguments:
|
29 |
| - - "@phpfastcache.twig_cache_driver_provider" |
30 |
| - phpfastcache.twig_cache_stategy: |
31 |
| - class: "%php_fast_cache.twig_cache_stategy.class%" |
| 20 | + - '@phpfastcache.twig_cache_driver_provider' |
| 21 | + Phpfastcache\Bundle\Twig\CacheExtension\CacheStrategy\LifetimeCacheStrategy: |
| 22 | + public: false |
32 | 23 | arguments:
|
33 |
| - - "@phpfastcache.twig_cache_provider" |
34 |
| - - "@?phpfastcache.request_collector" |
35 |
| - - "%phpfastcache%" |
36 |
| - twig.extension.cache: |
37 |
| - class: "%php_fast_cache.twig_cache.class%" |
| 24 | + - '@Phpfastcache\Bundle\Twig\CacheExtension\CacheProvider\PsrCacheAdapter' |
| 25 | + - '@?Phpfastcache\Bundle\DataCollector\CacheCollector' |
| 26 | + - '%phpfastcache%' |
| 27 | + Phpfastcache\Bundle\Twig\CacheExtension\Extension: |
38 | 28 | arguments:
|
39 |
| - - "@phpfastcache.twig_cache_stategy" |
| 29 | + - '@Phpfastcache\Bundle\Twig\CacheExtension\CacheStrategy\LifetimeCacheStrategy' |
40 | 30 | tags:
|
41 | 31 | - { name: twig.extension }
|
0 commit comments