c33s/parameter-objects-bundle
Composer 安装命令:
composer require c33s/parameter-objects-bundle
包简介
Plain PHP objects for Symfony parameter values to ease autowiring
README 文档
README
Inject plain PHP classes which can be autowired into your services instead of binding string parameters.
Classes and their respective parameters:
\C33s\ParameterObjects\KernelEnvironment:%kernel.environment%\C33s\ParameterObjects\KernelProjectDir:%kernel.project_dir%
Testing
Environment variables
used by the integration test
SYMFONY_VERSIONversion constraint which will passed tocomposer create-projecte.g.~4.4.0COMPOSER_PHARcomposer phar to use, defaults to the version installed with robo.robo/bin/composer.pharSYMFONY_INTEGRATION_TEST_INITIALIZEDcan be set to true to prevent the project initializationSYMFONY_INTEGRATION_TEST_FORCE_REINITIALIZEset this to true to force project reinitialization
also see adding-new-parameter.md
统计信息
- 总下载量: 158
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2021-09-09