Re: abstract private methods
| From: | John Coggeshall | Date: | Wed, 08 Jun 2005 18:40:40 +0000 |
| Subject: | Re: abstract private methods | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16564@lists.php.net to get a copy of this message | ||
Sure, except you can't create an instance of a class which contains
abstract methods.
On Wed, 2005-06-08 at 12:40 -0600, John LeSueur wrote:
> Stanislav Malyshev wrote:
>
> > As of now, PHP allows declaring abstract private methods. Does anyone
> > has any use for it? IMO, it is meaningless and should be disallowed
> > (basically it just says "this method does not exist and never will")
> > but maybe I am not seeing some use for it.
>
> It can be used to reserve a function for future use?
>
> John LeSueur
>