Jira issue originally created by user @ocramius:
DCOM-210 introduced new proxy factory flags that can be used to manipulate how proxies are generated/loaded.
Documentation for those flags is currently missing.
Comment created by mnapoli:
Copy of my comment on related ticket:
Actually found it, it's not documented and not really foolproof:
$doctrineConfig = new Doctrine\ORM\Configuration();
However* it will not work if the proxy autoloader is registered (which was necessary before, so if you forget to remove it, you'll get confusing errors that the proxy file can't be found), *and you need to set a proxy dir else there's an exception:
exception 'Doctrine\Common\Proxy\Exception\InvalidArgumentException' with message 'You must configure a proxy directory. See docs for details'
The docs needs updating, both in code and on the website. If I find some time today I'll try to do it.
PR for doc update (not phpdoc): #782
PR for phpdoc update: #783
Comment created by @doctrinebot:
A related Github Pull-Request [GH-783] was closed:
A related Github Pull-Request [GH-782] was closed:
Comment created by @ocramius:
Issue was closed with resolution "Fixed"