Re: Interface for __get, __set, __isset, __unset?
| From: | Hannes Magnusson | Date: | Sun, 25 May 2008 18:59:05 +0000 |
| Subject: | Re: Interface for __get, __set, __isset, __unset? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37868@lists.php.net to get a copy of this message | ||
On Sun, May 25, 2008 at 8:28 PM, Michael B Allen <ioplex@gmail.com> wrote:
> 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?
magic.
And since this is not an internals question it should have been posted
to the general user list..
-Hannes