Interface for __get, __set, __isset, __unset?
| From: | Michael B Allen | Date: | Sun, 25 May 2008 18:28:44 +0000 |
| Subject: | Interface for __get, __set, __isset, __unset? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-37865@lists.php.net to get a copy of this message | ||
Is there an interface for:
interface ???
{
public function __get($name);
public function __set($name, $value);
public function __isset($name);
public function __unset($name);
}
I have a bunch of classes that use this and I'm trying to normalize
things. I'm been trying to think of a good name for it but I'm
stumped.
What would you call this interface?
Container, ObjArray, DyObject, .... ?
Mike
PS: Yes, I realize this is a silly question but I'm borderline
obsessive compulsive about stuff like this. I can't help myself.