giftcards / fixed-width-bundle
此包的最新版本(1.2.0)没有可用的许可证信息。
1.2.0
2019-11-21 18:57 UTC
Requires
- giftcards/fixed-width: ^1.5
- symfony/symfony: ^3.4
Requires (Dev)
- fzaninotto/faker: ^1.8
- mockery/mockery: ^1.2
- phpunit/phpunit: ^8.4
This package is auto-updated.
Last update: 2024-09-22 04:59:44 UTC
README
将 fixed width library 集成到 symfony 的包
配置
默认配置
# Default configuration for extension with alias: "giftcards_fixed_width" giftcards_fixed_width: spec_loader: paths: [] id: giftcards.fixed_width.spec_loader value_formatter_id: giftcards.fixed_width.sprintf_value_formatter
默认情况下,所有注册包内的 Resources/fixed_width
目录被添加到路径中,以及项目中的 app/Resources/{BundleName}/fixed_width/
目录和 app/Resources/fixed_width
。您可以使用上面的 paths
配置添加额外的目录以搜索规范。
您可以通过更改 id
参数来更改用于加载规范的服务的 ID。
您可以通过更改 value_formatter_id
配置来更改用于的值格式化服务的 ID。