public function remove($ids) { if (!$this->isEmpty() && ($remove = $this->_resolveIds($ids))) { $this->_ids = array_diff($this->_ids, array_unique($remove)); } }