Yii Dependency Injection 1.0.0
2021-12-03
482次浏览
Version 1.0.0 of Yii Dependency Injection container is released. It is a PSR-11 compatible dependency injection container that is able to instantiate and configure classes resolving dependencies.
Features are:
- PSR-11 compatible.
- Supports property injection, constructor injection and method injection.
- Detects circular references.
- Accepts array definitions. Could be used with mergeable configs.
- Provides optional autoload fallback for classes without explicit definition.
- Allows delegated lookup and has composite container.
- Supports aliasing.
- Supports service providers.
- Has state resetter for long-running workers serving multiple requests such as RoadRunner or Swoole.
- Supports container delegates.
Yii3 high quality standards are met: 100% code coverage, near 100% mutation score and type coverage.
Details and usage examples are available in README.
新闻归档
热门标签
- yii3
- 扩展
- 发布
- yii2
- debug
- auth client
- bootstrap
- view
- redis
- apidoc
- mongodb
- Yii 2.0
- Yii 1.1
- release
- extensions
- gii
- http 客户端
- runner
- queue
- console
- mailer
- sphinx
- translator
- twig
- html
- db
- cache
- config
- 图书
- widget
- validation
- swiftmailer
- imagine
- error handler
- symfonymailer
- log
- http
- IDE
- router
- hydrator
- i18n
- assets
- elasticsearch
- vardumper
- definitions
- smarty
- swagger
- fastroute
- csrf
- rbac