Re: RFC: Trait expects interface

From: Date: Wed, 19 Jan 2022 19:16:35 +0000
Subject: Re: RFC: Trait expects interface
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  Groups: php.internals 
Request: Send a blank email to internals+get-116899@lists.php.net to get a copy of this message
On Wed, Jan 19, 2022 at 7:07 AM Chase Peeler <chasepeeler@gmail.com> wrote: > > This can still be handled with abstract methods > > While it is technically possible (I also came up with architecture hacks), it is... not a good solution. It is technically possible for the __toString() method to increment one of the properties on an object, that doesn't mean it's a good way to do it. It is technically possible for the __set() method to mutate a database, but that doesn't mean it's a good way to do it. Jordan

« previous php.internals (#116899) next »