phasync
Event / off

Method

Event::off

Removes $listeners, whether they were added with listen() or once().

Description#

public Event::off(
    Closure ...$listeners
): void

Parameters#

...$listeners Closure
The same closure objects that were added

See also#