stinger-soft / symfony-wincache
Adds wincache to symfony's PSR16 cache implementation
dev-master / 1.0.x-dev
2020-01-13 11:58 UTC
Requires
- php: >=7.2
- symfony/cache: ^4.0
Requires (Dev)
- cache/integration-tests: dev-master
- php-coveralls/php-coveralls: ~2.1.0
- phpunit/phpunit: ~7.5.6
This package is auto-updated.
Last update: 2024-12-13 22:48:52 UTC
README
<service id="cache.adapter.wincache" class="StingerSoft\SymfonyWincache\Adapter\WincacheAdapter" abstract="true">
<tag name="cache.pool" clearer="cache.default_clearer" />
<tag name="monolog.logger" channel="cache" />
<argument /> <!-- namespace -->
<argument>0</argument> <!-- default lifetime -->
<argument /> <!-- version -->
<call method="setLogger">
<argument type="service" id="logger" on-invalid="ignore" />
</call>
</service>
cache.adapter.wincache:
class: StingerSoft\SymfonyWincache\Adapter\WincacheAdapter
abstract: true
autowire: false
autoconfigure: false
tags:
- { name: cache.pool, clearer: cache.default_clearer }
- { name: monolog.logger, channel: cache}
arguments: [ null, 0, null]
calls:
- method: setLogger
arguments:
- '@logger'