Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 744 Bytes

customization.md

File metadata and controls

13 lines (8 loc) · 744 Bytes

Back

Customization

Configs loader

If you need to add your own logic when fetching the Cache configuration, you can replace the fifty_deg.sylius_cache_plugin.config_loader.config_loader service and implement FiftyDeg\SyliusCachePlugin\ConfigLoader\ConfigLoaderInterface.php.


Cache adapter

By default, this plugin comes with a Filesystem Cache Adapter implementation. You can add your own Cache Adapter implementation (e.g. APCu, Redis, Memcache, ...) by implementing the FiftyDeg\SyliusCachePlugin\Adapters\CacheAdapterInterface and replacing the fifty_deg.sylius_cache_plugin.adapters.cache_adapter service.

Next: Development