Symfony\Component\EventDispatcher\EventDispatcherInterface::removeListener
Removes an event listener from the specified events.
Signature
public function removeListener(string|array
$eventName,
callable
$listener )
Parameters
$eventName
— object- The event(s) to remove a listener from
$listener
— object- The listener to remove