Feature request: Autogenerate mode that does nothing
I have a system where proxies are stored in several different locations. The proxy autoloader system provides a perfectly reasonable way of dealing with this, but AbstractProxy::getProxyDefintion gets in the way: its behavior is based on the proxy autogenerate mode, and all the modes that deal with files require a specific file. In other words, I want to configure for AUTOGENERATE_NEVER, but also just leave loading the proxy up to the autoloader.
An additional autogenerate mode that's just a no-op would accomplish this very simply.
This will unlikely be implemented in 2.x, but rather in 3.x if I manage to finish up https://github.com/doctrine/doctrine2/pull/1241
OK, I basically expected that.
This was possible but undocumented before #816 (by choosing any value not accounted for by the switch), and worked quite well. I may just have to stick to those versions where it continues to be possible then.
@zerocrates if you want, you can submit a PR to introduce an "attempt autoloading" mode :-)