doctrine / doctrine/common

Feature request: Autogenerate mode that does nothing

Open
#820 3 comments 0 reactions 0 assignees View on GitHub
New Feature
Dominant language
PHP
Stars
5.8k
Forks
284
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.