remi-san/sf-di-tools
Composer 安装命令:
composer require remi-san/sf-di-tools
包简介
A set of tools for symfony DI
README 文档
README
Providing easy-to-use tools for symfony
Content
This lib provides the following util classes:
YamlCachedContainerBuilderallows to manage cachedSymfony Dependency Injectorcontainer withYAMLconfig files easily.
Usage example
YamlCachedContainerBuilder
$cacheBuilder = new YamlCachedContainerBuilder('path/to/cache/dir', false); $container = $cacheBuilder->build('path/to/config/dir', 'root-config-file.yml', 'MyCachedContainer', 'MyProject\\Cache');
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-03-28