JeroenDeDauw added a comment.

Can you motivate that? Clearly the entities could easily implement it, and 
several other classes could as well. However, that is looking at the interface 
from the implementers side, rather than the intended users side (which is what 
I think one needs to do for good interface design). I'd basically be inclined 
to add such an interface as soon as I'd be able to nicely type hint against it. 
Does your reasoning conflict with that, or do you think doing an instanceof 
check is sufficiently better than a method_exists one to warrant the added 
interface?


TASK DETAIL
  https://phabricator.wikimedia.org/T109581

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: JeroenDeDauw
Cc: Addshore, JeroenDeDauw, Aklapper, Wikidata-bugs, aude, Malyacko



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to