Re: Re: [Concept] Magic Casting

From: Date: Fri, 02 Dec 2016 14:54:18 +0000
Subject: Re: Re: [Concept] Magic Casting
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-97259@lists.php.net to get a copy of this message
On 2 December 2016 at 14:46, Andrey Andreev <narf@devilix.net> 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).

« previous php.internals (#97259) next »