stinger-soft/symfony-wincache

Adds wincache to symfony's PSR16 cache implementation

dev-master / 1.0.x-dev 2020-01-13 11:58 UTC

This package is auto-updated.

Last update: 2024-11-13 22:36:36 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'