dhii / di-interface
Interfaces for DI container implementations
Installs: 1 493
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 4
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-10-07 05:54:10 UTC
README
Interfaces for DI container implementations. In addition to existing container-interop and service-provider proxies, provides the following:
CompositeContainerInterface
- enables lookup delegation.WritableCompositeContainerInterface
- a composite container that can have containers added.WritableContainerInterface
- a container that can have service definitions added.FactoryInterface
- enables standard factory implementation.ExceptionInterface
- any DI exception.
The packages adheres to the SemVer specification, and there will be full backward compatibility between minor versions. Additionally, it follows the rule of the caret operator, i.e. there will be full backward compatibility between patch pre-release versions.