Re: Type variants
| From: | Sherif Ramadan | Date: | Sun, 12 Mar 2017 07:03:04 +0000 |
| Subject: | Re: Type variants | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-98491@lists.php.net to get a copy of this message | ||
You could have an abstract classes implement the interface and extend from
the abstract classes.
On Sun, Mar 12, 2017 at 1:57 AM, Michael Vostrikov <
michael.vostrikov@gmail.com> wrote:
> 2017-03-12 11:41 GMT+05:00 Sherif Ramadan <theanomaly.is@gmail.com>:
>
> > Yea, but how's that an improvement over using an interface?
> >
> >
> How can I check if an order is ready for checkout with interface? The
> difference is in property values, not in presence of methods.
>