On 08/12/2012 08:17 PM, Anthony Ferrara wrote: > Thoughts? Yes, please. I think this would be a great simplification for all kinds of extensibility / plugin mechanisms implemented in various PHP projects.
Typically these either end up with the boilerplate you described or try to come up with some kind of hack (e.g. dynamic code generation) to circumvent the problem of having to explicitly define parent classes if one wants to dynamically decorate objects multiple times while maintaing interfaces. Cheers, Nils -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php