electivegroup / cache-bundle
Elective Cache Bundle
1.0.1
2024-02-23 06:49 UTC
Requires
- php: ^7.1.13
- electivegroup/formatter-bundle: 2.0.0
- electivetechnology/security-bundle: ^v0.0.17
- google/cloud-pubsub: ^1.32
- symfony/framework-bundle: 5.*
Requires (Dev)
- phpunit/phpunit: ^6.5
- squizlabs/php_codesniffer: ^3
- symfony/phpunit-bridge: ^4.3|^5.0
This package is auto-updated.
Last update: 2024-09-23 09:20:02 UTC
README
symfony 的缓存包
将路由添加到您的路由文件
# app/config/routes.yaml
cache_bundle:
resource: '@ElectiveCacheBundle/Resources/config/routes.yaml'
将服务添加到您的服务文件
# app/config/services.yaml
imports:
- { resource: '@ElectiveCacheBundle/Resources/config/services.yaml' }
将缓存订阅添加到您的环境文件中,例如
# app/.env
CACHE_SUBSCRIPTIONS=-acl-api-organisation-updated-candidates-api,-acl-api-user-updated-candidates-api