Doctrine 2 - ORM

Doctrine\ORM\Configuration should be immutable after construction of EntityManager