php -dxdebug.profiler_enable_trigger=1 -S localhost:8080 -t publicand see where it is hanging.
@Ocramius I had to disable the library again. During peak hours it is not really making a big difference due to the load in our servers. Where would you recommend me to doing the following?
$config = new \ProxyManager\Configuration();
I currently have this set on AppKernel at initializeContainer() but maybe this is not the correct place to do it...
@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