public function destroySession($id) { $this->db->getCollection($this->sessionCollection)->remove(['id' => $id], ['justOne' => true]); return true; }