dhii / di-interface
DI 容器实现接口
v0.1
2017-02-02 13:12 UTC
Requires
- php: ^5.3 | ^7.0
- container-interop/container-interop: ^1.1
- container-interop/service-provider: ^0.3
Requires (Dev)
- codeclimate/php-test-reporter: <=0.3.2
- dhii/php-cs-fixer-config: dev-php-5.3
- phpunit/phpunit: ^4.8
- ptrofimov/xpmock: ^1.1
This package is auto-updated.
Last update: 2024-09-07 05:35:59 UTC
README
DI 容器实现接口。除了现有的 container-interop 和 service-provider 代理之外,还提供以下功能
CompositeContainerInterface
- 允许 查找委托。WritableCompositeContainerInterface
- 可以添加容器的组合容器。WritableContainerInterface
- 可以添加服务定义的容器。FactoryInterface
- 允许标准的 工厂 实现。ExceptionInterface
- 任何 DI 异常。
该软件包遵循 SemVer 规范,并且不同小版本之间将有完全的向后兼容性。此外,它遵循 -caret 操作符 的规则,即修补预发布版本之间将有完全的向后兼容性。