Method implementation
| From: | Herr Witten | Date: | Sat, 21 Feb 2004 02:56:03 +0000 |
| Subject: | Method implementation | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-8033@lists.php.net to get a copy of this message | ||
It would be interesting to have variable methods:
$object->method = 'method1';
$object->method();
The trouble is all of the extra method mechanisms, so perhaps functions should be defined with access too. Also, one should be able to include $this or have it understood.
public function method1($this, ...)