Re: Event_Dispatcher request

From: 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:
I 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.
yeah a read only method sounds quite useful, so just return information on the listeners, but not the actual instances. regards, Lukas

« previous php.pear.dev (#38963) next »