ReflectionSymbolInfoFactory::classInfo() and functionInfo() both check isInternal() and return null for non-internal symbols. This is a policy decision about what the built-in backend serves, not a factory concern — the factory's job is turning a reflection object into a SymbolInfo.
Moving the guard into BuiltinBackend::lookup() separates "should I build this?" from "how do I build this?"
This issue body was written by AI and reviewed by a human.
ReflectionSymbolInfoFactory::classInfo()andfunctionInfo()both checkisInternal()and return null for non-internal symbols. This is a policy decision about what the built-in backend serves, not a factory concern — the factory's job is turning a reflection object into aSymbolInfo.Moving the guard into
BuiltinBackend::lookup()separates "should I build this?" from "how do I build this?"This issue body was written by AI and reviewed by a human.