Re: Property Accessors v1.2

From: Date: Fri, 12 Oct 2012 12:32:10 +0000
Subject: Re: Property Accessors v1.2
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-63375@lists.php.net to get a copy of this message
Please ignore me... i'm a n00b and my mail programme F*cked me... my bad Regards, Robin Speekenbrink Kingsquare BV On vrijdag 12 oktober 2012 13:50:34, Cal wrote:
Le 12/10/2012 11:48, Nikita Popov a écrit :
I've been thinking a bit about the automatic properties again, and noticed that I forgot to name one use case: Asymmetric accessor visibility. Automatic properties may be useful in that context, so that you can write "public $foo { get; protected set; }" (though they don't necessarily need to be implemented as properties with auto generated code, rather just properties with more detailed visibility handling [a bit related to the stuff Amaury has been saying]).
I agree.


« previous php.internals (#63375) next »