Skip to content

Build a bundle on top of the DoctrineOrmOdmAdapter to use it with references between orm and phpcr

Notifications You must be signed in to change notification settings

ElectricMaxxx/DoctrineOrmPhpcrAdapterBundle

Repository files navigation

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]

About

Build a bundle on top of the DoctrineOrmOdmAdapter to use it with references between orm and phpcr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages