phpfastcache / solr-extension
Phpfastcache Solr 扩展
9.2.0
2024-01-07 05:48 UTC
Requires
- php: >=8.0
- phpfastcache/phpfastcache: ^9.2
- solarium/solarium: ~6.1
Requires (Dev)
- jetbrains/phpstorm-stubs: dev-master
- phpfastcache/phpfastcache-devtools: ^9.2
- phpmd/phpmd: @stable
- phpstan/phpstan: ^1.5
- squizlabs/php_codesniffer: @stable
This package is auto-updated.
Last update: 2024-09-09 21:50:25 UTC
README
欢迎合并请求,但必须通过测试和质量工具
(必须在仓库根目录下运行命令)
PHPCS、PHPMD、PHPSTAN (Level 6)、单元测试
composer run-script quality
composer run-script tests
# In case you want to fix the code style automatically:
composer run-script phpcbf
支持 & 安全
对此扩展的支持必须发布到主 Phpfastcache 存储库。
Composer 安装
composer install phpfastcache/solr-extension
⚠️ 此扩展需要
1️ The composer solarium/solarium
库 6.1
至少。
事件
此驱动程序正在发出 自定义事件
- onSolrBuildEndpoint(Callable $callback)
- 回调参数
- ExtendedCacheItemPoolInterface $itemPool
- EventReferenceParameter($params) $endpoints 通过 EventReferenceParameter 对象 (不允许类型修改)
- 范围
- Solr 驱动程序
- 描述
- 允许您更改用于连接到 Solr 服务器的端点
- 风险性循环方法:无
- 回调参数