You are browsing a version that is no longer maintained. |
Custom Providers
You can also register your own custom cache drivers:
# app/config/services.ymlservices: my_custom_provider_service: class: "MyCustomType" # ...# app/config/config.ymldoctrine_cache: custom_providers: my_custom_type: prototype: "my_custom_provider_service" definition_class: "MyCustomTypeDefinition" # optional configuration providers: my_custom_type_provider: my_custom_type: config_foo: "foo" config_bar: "bar"
|
Definition class is a optional configuration that will parse option arguments given to your custom cache driver. See CacheDefinition code. |
