src/Event/EventManager.php
public function unbind(string $event, string $signature) {
        if (!isset($this->bindings[$event]) || !is_array($this->bindings[$event]) || !array_key_exists($signature, $this->bindings[$event])) {
            return false;
        }

        unset($this->bindings[$event][$signature]);
        return true;
    }
public function unbind(string $event, string $signature) {
        if (!isset($this->bindings[$event]) || !is_array($this->bindings[$event]) || !array_key_exists($signature, $this->bindings[$event])) {
            return false;
        }

        unset($this->bindings[$event][$signature]);
        return true;
    }
public function unbind ( string $ event , string $ signature ) { if ( ! isset ( $ this -> bindings [ $ event ] ) || ! is_array ( $ this -> bindings [ $ event ] ) || ! array_key_exists ( $ signature , $ this -> bindings [ $ event ] ) ) { return false ; } unset ( $ this -> bindings [ $ event ] [ $ signature ] ) ; return true ; }
Remove an event binding

@param string $event
@param string $signature
@return boolean successfully removed, or didn't exist
Remove an event binding