note 72211 deleted from language.oop5.overloading by danielc

From: Date: Thu, 03 Jul 2008 00:35:46 +0000
Subject: note 72211 deleted from language.oop5.overloading by danielc
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-141098@lists.php.net to get a copy of this message
Note Submitter: jbailey at raspberryginger dot com Reason: 0 ---- The __set method doesn't seem to respect visibility at all (and the examples suggest this). I'd hoped that marking the __set method as "private" would cause an exception to get thrown. Instead the __set method needs to throw an Exception itself. Being able to lock other things away from putting things randomly into the object would be handy for helping find typos right at the source.

« previous php.notes (#141098) next »