Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.33 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.33 KB

DoctrineOrmPhpcrAdapterBundle

DoctrineOrmPhpcrAdapterBundle for the Symfony Framework.

This bundle integrates the Doctrine ORM-ODM-Adapter into Symfony2.

Build Status

What is Doctrine ORM-ODM-Adapter?

The Doctrine Project is the home of a selected set of PHP libraries primarily focused on providing persistence services and related functionality. Ths ORM-ODM-Adapter provides the chance to reference objects between different doctrine implementations.

Documentation

Minimum Configuration

doctrine_orm_phpcr_adapter:
    managers:
        reference-phpcr:
            defaul: doctrine_phpcr.odm.default_document_manager
        reference-dbal-orm: 
            default: doctrine.orm.default_entity_manager
    adapters:
        mapping: true
        auto_generate_proxy_classes: %kernel.debug%

You can add some mapping for the documents/entities as you used to know it in the ORM/ODM:

doctrine_orm_phpcr_adapter:
    ...
    mappings:
        some_name:
            type: annotation
            dir: ../Entity
            is_bundle: true
             

Your will find the mapping information in the (library)[https://github.com/ElectricMaxxx/DoctrineOrmOdmAdapter]