src/Observer/StandardSplSubjectTrait.php
public function detach(\SplObserver $observer): void
    {
        $id = spl_object_hash($observer);
        unset($this->_observers[$id]);
    }
public function detach(\SplObserver $observer): void
    {
        $id = spl_object_hash($observer);
        unset($this->_observers[$id]);
    }
public function detach ( \ SplObserver $ observer ) : void { $ id = spl_object_hash ( $ observer ) ; unset ( $ this -> _observers [ $ id ] ) ; }
Detaches the SplObserver from the
ExceptionHandler, so it will no longer
be notified when an uncaught Exception is thrown.

@param \SplObserver $observer
@return void
Detaches the SplObserver from the ExceptionHandler so it will no longer be notified when an uncaught Exception is thrown .