glavweb/composite-object-bundle
Composer 安装命令:
composer require glavweb/composite-object-bundle
包简介
Symfony GlavwebCompositeObjectBundle.
README 文档
README
Get the bundle using composer
Add GlavwebCompositeObjectBundle by running this command from the terminal at the root of your Symfony project:
php composer.phar require glavweb/composite-object-bundle
Enable the bundle
To start using the bundle, register the bundle in your application's kernel class:
// app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Glavweb\CompositeObjectBundle\GlavwebCompositeObjectBundle(), // ... ); }
Configure the bundle
Add DBAL type to Doctrine:
doctrine: dbal: types: CompositeObjectFieldType: Glavweb\CompositeObjectBundle\DBAL\Types\Object\CompositeObjectFieldType
To enable the dynamic routes, add the following to your routing configuration file:
# app/config/routing.yml glavweb_composite_object: resource: "@GlavwebCompositeObjectBundle/Resources/config/routing.yml" prefix: /
统计信息
- 总下载量: 47
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-05-03