Re: Event_Dispatcher request
| From: | Lukas Smith | Date: | Wed, 27 Jul 2005 09:36:37 +0000 |
| Subject: | Re: Event_Dispatcher request | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-38963@lists.php.net to get a copy of this message | ||
Bertrand Mansion wrote:
yeah a read only method sounds quite useful, so just return information on the listeners, but not the actual instances. regards, LukasI can't see a problem in *reading* the list, I will also *not* add something for write access. In a Java framework where I'm using a similar package I need the fetch all listeners for debugging purposes and I guess it wouldnt' hurt having this feature in Event_Dispatcher.If by reading you mean something like toString() or toArray(), then it's fine with me.