Yii Dependency Injection 1.0.0
2021-12-03
666次浏览
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
- view
- bootstrap
- html
- release
- redis
- apidoc
- Yii 2.0
- Yii 1.1
- mongodb
- mailer
- extensions
- twig
- gii
- queue
- runner
- http 客户端
- console
- validation
- sphinx
- cache
- widget
- translator
- hydrator
- error handler
- db
- symfonymailer
- log
- http
- config
- assets
- swiftmailer
- 图书
- imagine
- csrf
- elasticsearch
- swagger
- IDE
- i18n
- router
- definitions
- fastroute
- logging
- smarty
- user