Re: Property Accessors v1.2 : Interfaces

From: Date: Mon, 15 Oct 2012 14:37:50 +0000
Subject: Re: Property Accessors v1.2 : Interfaces
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-63420@lists.php.net to get a copy of this message
> I *think* we are on the same page here, though I'm not sure what 'user' is > referring to (user of interface "implementer") or (user of class B). In any case, I > don't believe that your class B would be allowed at present, but if it is, then it should not > be allowed because defining a property to satisfy the requirements of an accessor is not right. According to whom? In my opinion, not allowing a property to satisfy the requirement of an accessor is wrong.

« previous php.internals (#63420) next »