private function _freePeer(\Ding\Helpers\Tcp\TcpPeer $peer)
    {
        $peerName = $peer->getName();
        unset($this->_peers[$peerName]);
        unset($this->_peersSockets[$peerName]);
        unset($this->_peersLastDataReceived[$peerName]);
    }
private function _freePeer(\Ding\Helpers\Tcp\TcpPeer $peer)
    {
        $peerName = $peer->getName();
        unset($this->_peers[$peerName]);
        unset($this->_peersSockets[$peerName]);
        unset($this->_peersLastDataReceived[$peerName]);
    }
private function _freePeer ( \ Ding \ Helpers \ Tcp \ TcpPeer $ peer ) { $ peerName = $ peer -> getName ( ) ; unset ( $ this -> _peers [ $ peerName ] ) ; unset ( $ this -> _peersSockets [ $ peerName ] ) ; unset ( $ this -> _peersLastDataReceived [ $ peerName ] ) ; }
After disconnecting a peer, this will release all the associated
information.

@return void
After disconnecting a peer this will release all the associated information .