|
|
(Next) Event_Dispatcher::getName |
||||
| |
|||||
|
|||||
object Event_Dispatcher Event_Dispatcher::getInstance (
string $name = '__default'
)
Create a new Event_Dispatcher object.
As Event_Dispatcher uses the singleton pattern, you must not use the new operator to create a new instance of Event_Dispatcher, but use getInstance() instead.
If you need more than one instance of Event_Dispatcher, pass different names to the method.
string $name = '__default'
object Event_Dispatcher Event_Dispatcher instance
This function should be called statically.
|
|
(Next) Event_Dispatcher::getName |
||||||||
| |
|||||||||
|
|||||||||