Re: Decorators Revisited

From: Date: Mon, 13 Aug 2012 22:24:10 +0000
Subject: Re: Decorators Revisited
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-62131@lists.php.net to get a copy of this message
Just seeing my previous reply only went to Anthony in person. so i have to repeat here: Its an awesome idea, i really like it :) On Mon, Aug 13, 2012 at 9:10 PM, Jordi Boggiano <j.boggiano@seld.be> wrote: > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#62131) next »