Method
Event::off
Removes $listeners, whether they were added with listen() or once().
Description#
public Event::off(
Closure ...$listeners
): voidParameters#
- ...$listeners Closure
- The same closure objects that were added
See also#
Event::listenCalls$listenersevery time the event triggers.