public function removeConnection($id) { if ($this->existsConnection($id)) { unset($this->connectionPool[$id]); return true; } return false; }