Skip to content

Stinger-Soft/SymfonyWincache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Register as a service

<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'

About

Wincache Adapter for symfony

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages