Am 17.02.2016 um 15:25 schrieb Kevin Gessner: > Hello internals team! I'd like to propose an RFC to allow traits to > implement interfaces.
I think that would violate "The Flattening Property" [1], meaning that the fact that a class uses a trait must not be noticable by a user of that class. Also bear in mind that explicit is better than implicit. Two explicit declarations, "implements <interface>" and "uses <trait>", makes it obvious from looking at the code of a class that is provides a specific API and uses a trait for its implementation. -- [1] https://wiki.php.net/rfc/horizontalreuse -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php