 <p>One can retrieve $config from Entity manager like this:</p> <pre><code>$config = $em-&gt;getConfiguration(); </code></pre> <p>To dynamically update entities paths try this (i've not tried it myself):</p> <pre><code>$driverImpl = new Doctrine\ORM\Mapping\Driver\AnnotationDriver(array( APP_PATH . DIRECTORY_SEPARATOR . 'entities' )); $config-&gt;setMetadataDriverImpl($driverImpl); </code></pre> <p>P.S> I think this should work but I've not tried this so plz correct me if this wrong.</p>