@Ocramius let me know when you have a chance what exactly you mean by "add the generated proxies to your classmap". I tried adding my Factory classes and it didn't help much:
proxy/diris exactly what it says: the place where proxy classes are dumped
Hi, I’d like to use ProxyManager to add a PrefixInterceptor on a Doctrine entity that will load some data from an external API (most of the entity data comes from mysql, but one VO is loaded from Stripe). We however use YAML mapping and now Doctrine is confused, spitting out the following:
No mapping file found named 'ProxyManagerGeneratedProxy.__PM__.Account.Generated057e19f64f9522d6b31349e983c34acc.dcm.yml' for class 'ProxyManagerGeneratedProxy\__PM__\Account\Generated057e19f64f9522d6b31349e983c34acc
Anyone got any ideas on how to fix that?
get_class()all over the place. This might work with
doctrine/orm:dev-master, but I didn't try
setMethodPrefixInterceptorbut it only matches exact method names