You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was reminded today that class_alias() doesn't work with internal classes.
I have a use case where a class can be defined either by userland or by an optional extension, and I'd ideally need to alias it. Right now, I have to create a proxy class instead of an alias, and proxy classes are tedious to write+maintain.