dhii/di
最新稳定版本:v0.2-alpha1
Composer 安装命令:
composer require dhii/di
包简介
A DI container implementation
README 文档
README
Details
Simple, granular, standards-compliant DI container implementations.
Features
- Is an implementation of the PSR-11 standard.
- Uses some other standards published separately.
- Includes support for the delegate lookup feature, a.k.a. composite containers, with intuitive override order.
- Easily extensible and adaptable.
Classes
CachingContainer- A simple container that resolves callable service definitions and caches the result, guaranteeing the same instance every time. Cache sold separately.ContainerAwareCachingContainer- A container that is aware of another container, perhaps a parent one. Callable definitions will receive the top-most parent container of the chain when resolving. Use it withCompositeContainerto implement theAbstractBaseContainer- Common functionality for DI containers that store services as internal data.AbstractBaseCachingContainer- Common functionality for DI containers that cache resolved services.
统计信息
- 总下载量: 3.66k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-03