msales/string-mapper-bundle
Composer 安装命令:
composer require msales/string-mapper-bundle
包简介
README 文档
README
To use this bundle, you need to create new service:
For Mapper with Default:
mapper.test_default:
class: "%msales.string_mapper.default.class%" #storm is lost withot it :(
parent: msales.string_mapper.default
arguments:
-
ala: makota
kot: madoscali
Default mapper will return requested key if its not found in the map.
For Whitelisting Mapper:
mapper.test_whitelisting:
class: "%msales.string_mapper.whitelisting.class%" #storm is lost withot it :(
parent: msales.string_mapper.whitelisting
arguments:
-
ala: makota
kot: madoscali
Whitelisting mapper will throw exception if requested key is not in map.
License
StringMapperBundle is released under the MIT Licence. See the bundled LICENSE file for details.
统计信息
- 总下载量: 4.54k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-03-17