arhframe/iocart
Composer 安装命令:
composer require arhframe/iocart
包简介
Ioc which use the spring style.
README 文档
README
IocArt is an another IOC (inversion of Control) and he is close too Spring Ioc style. The main point is that IocArt have his context file in yml. Bean is "class" wich you can inject inside their properties:
- Another bean
- Property file
- A yaml file read by yamlarh
- A stream
You can also import other yaml context in a yaml context
Installation
Through Composer, obviously:
{
"require": {
"arhframe/iocart": "1.*"
}
}
Usage
use Arhframe\IocArt\BeanLoader; $beanLoader = BeanLoader::getInstance(); $beanLoader->loadContext('your/yaml/file/for/context');
Examples
统计信息
- 总下载量: 134
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-06-24