src/Network/Observer/ConnectionObserverCollection.php
public function removeObserver(ConnectionObserver $observer)
    {
        $index = array_search($observer, $this->observers, true);
        if ($index !== false) {
            unset($this->observers[$index]);
        }
        return $this;
    }
public function removeObserver(ConnectionObserver $observer)
    {
        $index = array_search($observer, $this->observers, true);
        if ($index !== false) {
            unset($this->observers[$index]);
        }
        return $this;
    }
public function removeObserver ( ConnectionObserver $ observer ) { $ index = array_search ( $ observer , $ this -> observers , true ) ; if ( $ index !== false ) { unset ( $ this -> observers [ $ index ] ) ; } return $ this ; }
Removes the observers from the collection.

@param ConnectionObserver $observer
@return ConnectionObserverCollection this collection
Removes the observers from the collection .