Problem/Motivation
Per @Charlie ChX Negyesi at #2570593-192: Allow entities to be subclassed using "bundle classes":
The new throws doxygen in EntityTypeRepositoryInterface does not make sense to me -- it might be me, of course. It's a copypaste of the existing doxygen so it's not a new problem and also quite easy to fix. The existing one says:
thrown when multiple subclasses correspond to the called class.I believe this wanted to bethrown when multiple entity types correspond to the provided classa) not "subclasses" but "entity types" b) not "called class" but "provided class" because we do not call a class, that's not even possible, you can call an object if it has a __invoke magic method but classes can't be called.
Opening this as a postponed follow-up to avoid running into trouble with scope creep in the vastly more important parent issue. 😉
Comments
Comment #3
dwwComment #4
larowlan