Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97259 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87412 invoked from network); 2 Dec 2016 14:54:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Dec 2016 14:54:22 -0000 Authentication-Results: pb1.pair.com header.from=bowersbros@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=bowersbros@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.48 as permitted sender) X-PHP-List-Original-Sender: bowersbros@gmail.com X-Host-Fingerprint: 74.125.82.48 mail-wm0-f48.google.com Received: from [74.125.82.48] ([74.125.82.48:37703] helo=mail-wm0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/8B-01781-D1B81485 for ; Fri, 02 Dec 2016 09:54:21 -0500 Received: by mail-wm0-f48.google.com with SMTP id t79so17986218wmt.0 for ; Fri, 02 Dec 2016 06:54:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=16j4BCV4LfaqwxqODW5zdrhPPI3UATMNxUB7AYUm/FI=; b=kIpmSL2CERGbOyzvF8sFUDWAddkEvO8jwN8yBLOqPeyzV89kiFxEhtaP09WVJMBvU0 fGl5rNa1bi3sN5563OxO0DKeWmmvfeJUmT3iH7G5MO7YO3veWJsyArMr+HPhb/1mvAGH cLN23vbkTNIquhiMMkEcqlT/SpA1gUrWreQHfnEXoEsEIxGS5fCWrGjx8ZTJ/eEdGhs3 wliFRf/iuMJvB4YLTt32MALCsh0WYKmntwbxrxCWuwU4C5vIPiImEbwU6PE1G9SbD+XC 3XXi8L/+LPIxAnP1ON3smIaDqJRTd7Z/DZzXNdoo+ZTuedbs+T1BiO7vc5wS02BI+9D1 OhLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=16j4BCV4LfaqwxqODW5zdrhPPI3UATMNxUB7AYUm/FI=; b=mzWCRFuT3lFnVrUFZUUzPv68lHX3zWsBYfF5793BY/PHpxFOUj1EniqA9J6gjLwoIp QRcRZzNEdpSp/oKTU8joS3ULkIglmXIxHx9AaJyfInNT+tDJkxsaQ+jMphaVVDIEP83a ECachRlQsfKcTq/p61IqEwvwBLFOCoYSs4XHf4Wns4iaIEiwvByov4nWkgjr7sXE7V6h BKJds13MchwvBnfdPP2A02V+Mc2e7lvd2WBXOdpP8Xn+BP3Jntol7xciO+7YZx3IdLBs KFnQOkM5VoBHvl2j8ZjAx0Rkv5wdsOB4ObDS9Q0Fgby9Rck5rYoLlpdzuZxnTHwClc94 nrXg== X-Gm-Message-State: AKaTC02cxySnynH8Xi46PEgdkm5XfRwilnxFhayE5WPxfjMFbn29y94xztL+NUpt2AkxkdRSiS5gwDvzat5eQg== X-Received: by 10.28.209.7 with SMTP id i7mr1880034wmg.62.1480690459126; Fri, 02 Dec 2016 06:54:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.232.77 with HTTP; Fri, 2 Dec 2016 06:54:18 -0800 (PST) In-Reply-To: References: Date: Fri, 2 Dec 2016 14:54:18 +0000 Message-ID: To: Andrey Andreev Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=94eb2c12e4c2d6b1250542ae1c35 Subject: Re: [PHP-DEV] Re: [Concept] Magic Casting From: bowersbros@gmail.com (Alex Bowers) --94eb2c12e4c2d6b1250542ae1c35 Content-Type: text/plain; charset=UTF-8 On 2 December 2016 at 14:46, Andrey Andreev wrote: > What I meant is - you cannot cast to a class that requires more than one > dependency to be instantiated - that's the obvious limitation. Ah yes, that is certainly true, unless the other parameters can be determined / derived (e.g., injection using a container). --94eb2c12e4c2d6b1250542ae1c35--