Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62131 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64932 invoked from network); 13 Aug 2012 22:24:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Aug 2012 22:24:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=kontakt@beberlei.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=kontakt@beberlei.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain beberlei.de from 209.85.217.170 cause and error) X-PHP-List-Original-Sender: kontakt@beberlei.de X-Host-Fingerprint: 209.85.217.170 mail-lb0-f170.google.com Received: from [209.85.217.170] ([209.85.217.170:37115] helo=mail-lb0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/23-00812-D8E79205 for ; Mon, 13 Aug 2012 18:24:15 -0400 Received: by lbbgp3 with SMTP id gp3so2396211lbb.29 for ; Mon, 13 Aug 2012 15:24:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=xOxxUt86Um2XvIIpKVaPuLz+DrNORzEFDpkPcuxTURU=; b=gzuTOlHalWuIvy3+GTQiN4ST9OUB/FzJYCG0z0eK2ERowWyut3sh1Kslexse1MMDrH EvE6yMuRR1Jm2Pwbop3V/YB6zJhjc/r2YcglhpUYmKIcvygU/+sxpk+agVGkGYm1sLGm cwpNvVODurj83w7qR8u8WK/hHp3sQXlNT3CLJmfRIPQBRbqcfD7utuMbWqaX/aTIc1LA KCT2pHaOvF2++fYlG2W6+71OskyeiJLLPzbi9x9vmzP0l6BBfYt18wWeA/84Pr5PLDnO dE92OOvplwjSNfhwT1IaJIG/3PoN2q6dTMEknMXf5GKIs+rx83JiyD6qvqSiz7OdV4zM XmDw== MIME-Version: 1.0 Received: by 10.112.47.133 with SMTP id d5mr7018760lbn.47.1344896650651; Mon, 13 Aug 2012 15:24:10 -0700 (PDT) Received: by 10.112.127.105 with HTTP; Mon, 13 Aug 2012 15:24:10 -0700 (PDT) X-Originating-IP: [93.129.119.129] In-Reply-To: <5029510B.2070504@seld.be> References: <5029510B.2070504@seld.be> Date: Tue, 14 Aug 2012 00:24:10 +0200 Message-ID: To: Jordi Boggiano Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=bcaec553fe341f294a04c72d2732 X-Gm-Message-State: ALoCoQlnBVif/C+tisXiSH165qgxwDvoM3BmAoSceyrvIooG/E9tkxy1aFYWuW6B4ibezlAsgz7Z Subject: Re: [PHP-DEV] Decorators Revisited From: kontakt@beberlei.de (Benjamin Eberlei) --bcaec553fe341f294a04c72d2732 Content-Type: text/plain; charset=ISO-8859-1 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 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 > > --bcaec553fe341f294a04c72d2732--