Re: Decorators Revisited

From: Date: Mon, 13 Aug 2012 19:10:03 +0000
Subject: Re: Decorators Revisited
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-62130@lists.php.net to get a copy of this message
Heya, > What do you think? Is this a route that I should continue down? Or is there > something fundamental that I'm missing here? I know that Reflection, > get_interfaces(), etc would need to be updated to account for this. I can't speak for the feasibility, but from a usage point of view I do like that it opens up some sort of duck-typing by allowing decorators to be drop-in replacements even if there is no interface to implement. Cheers -- Jordi Boggiano @seldaek - http://nelm.io/jordi

« previous php.internals (#62130) next »