Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37865 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24655 invoked from network); 25 May 2008 18:28:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 May 2008 18:28:49 -0000 Authentication-Results: pb1.pair.com header.from=ioplex@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=ioplex@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.166.178 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: ioplex@gmail.com X-Host-Fingerprint: 64.233.166.178 py-out-1112.google.com Received: from [64.233.166.178] ([64.233.166.178:36912] helo=py-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 78/CD-21001-FDFA9384 for ; Sun, 25 May 2008 14:28:48 -0400 Received: by py-out-1112.google.com with SMTP id a25so837217pyi.16 for ; Sun, 25 May 2008 11:28:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=rggiZHLuDv5zConaK/Vb2qWIYhD1sldMmTR65T3VslI=; b=b1WdDJ+yXl8pE4mmuVHaGG4Q9VOhBNUAplA+jUE1domGci5MC3uAjPUenl3I+qGnEX0VVxfvd+pZsNF/ld3QEqyvWLCO+VQKB0BEPGcPXUlV8BCnD3Varlw168j/0Xk4gKQNtF0YEVsHk/2DHGj5xbo1LtNvwHPlqb6sog24sHQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=GxGZu5UrjXLnkiX8MiPlT2gt7O727QmF96C/0z1WxbKW2YM7MnPcUrFjwqZEHhzWtaGRRW79rNfOOYL8laE/R8uJYQvOpNpzB+fWiacBd9k+He7NrWMb5pxPi8Oi43wh/6/QoeHBtyC6E0IdAU/2XlCXLEx7ygJgGybg5lUe8KE= Received: by 10.142.52.9 with SMTP id z9mr781967wfz.201.1211740124688; Sun, 25 May 2008 11:28:44 -0700 (PDT) Received: by 10.142.224.18 with HTTP; Sun, 25 May 2008 11:28:44 -0700 (PDT) Message-ID: <78c6bd860805251128s372c6b94h9bcd2e8e50934815@mail.gmail.com> Date: Sun, 25 May 2008 14:28:44 -0400 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Interface for __get, __set, __isset, __unset? From: ioplex@gmail.com ("Michael B Allen") 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.