Re: [RFC] Property Accessors v1.2 : Internal Accessor Method Visibility / Callability

From: Date: Sat, 27 Oct 2012 20:21:35 +0000
Subject: Re: [RFC] Property Accessors v1.2 : Internal Accessor Method Visibility / Callability
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-63674@lists.php.net to get a copy of this message
Hi! > That's why I think they shouldn't even be visible to users, they aren't > relevant to them and in fact it could mis-lead them into thinking that > they could simply define __getHours() and expect $foo->Hours to call > it, which it wouldn't. I think it should. That's how __get works. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#63674) next »