sonata-project/SonataEasyExtendsBundle — pull request #27 by liuggio (2013-03-01 13:13:49+00:00)
Title: [DoctrineORMMapper] added Discriminator, Discriminator Column, and Inheritance Type.

You can now extends the inheritance of another class.

example:
```php

DoctrineCollector::getInstance()->addDiscriminator(
'\Acme\AcmeDemoBundle\Entity',
"MY",
'\Acme\AcmeDemoBundle\MyEntity');

DoctrineCollector::getInstance()->addDiscriminatorColumn(
'\Acme\AcmeDemoBundle\Entity',
array("name"=>"discr", "type"=>"string")
);

DoctrineCollector::getInstance()->addInheritanceType(
'\Acme\AcmeDemoBundle\Entity',
\Doctrine\ORM\Mapping\ClassMetadataInfo::INHERITANCE_TYPE_JOINED
);

```