pokap / pool-dbm-bundle
This package is abandoned and no longer maintained.
No replacement package was suggested.
Symfony2 Multi Doctrine Repositories Bundle
Package info
github.com/pokap/PokPoolDBMBundle
Type:symfony-bundle
pkg:composer/pokap/pool-dbm-bundle
dev-master / 1.0.x-dev
2014-01-15 15:07 UTC
Requires
- php: >=5.3.3
- pokap/pool-dbm: 1.*
- symfony/doctrine-bridge: 2.*
- symfony/framework-bundle: 2.*
Requires (Dev)
This package is not auto-updated.
Last update: 2022-02-01 12:24:24 UTC
README
Requires at least PHP 5.3.3 with Symfony 2 library. Compatible PHP 5.4 too.
This bundle integrates Pool-DBM.
Usage
By default, the object is initialized with values defined in the configuration:
pok_pool_dbm: debug: %kernel.debug% managers: orm: id: doctrine.orm.entity_manager odm: id: doctrine_mongodb.odm.document_manager auto_mapping: true mappings: AcmeDemoBundle: ~
Mapping:
<multi-model model="MultiModel\User" repository-class="Repository\UserRepository"> <model-reference manager="odm" field="id" /> <model manager="orm" name="Entity\User" repository-method="findByIds"> <field name="name" /> </model> <model manager="odm" name="Document\User"> <field name="profileContent" /> </model> </multi-model>