Re: [PHP-DEV] [RFC] Propety Accessors v1.1

2012-10-08 Thread Denis Portnov
09.10.2012 5:10, Clint Priest пишет: Seems a fair amount of people would like it with a definable parameter name, though the original RFC I based mine off of is more than 4 years old (mine is over a year old already). The $value is precisely chosen because it is exactly the way C# operates and

Re: [PHP-DEV] [RFC] Propety Accessors v1.1

2012-10-08 Thread Denis Portnov
08.10.2012 15:52, Clint Priest пишет: public $Hours { get { return $this->Seconds / 3600; } set { $this->Seconds = $value; } isset { return isset($this->Seconds); } unset { u