Skip to content

pokap/PokPoolDBMBundle

Repository files navigation

PokPoolDBMBundle

Requires at least PHP 5.3.3 with Symfony 2 library. Compatible PHP 5.4 too.

Build Status

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>

About

[ABANDONED] Multiple Doctrine Model Mapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages