private function unQueue(Model $model) { $updated_index = array_search($model, $this->to_update); if ($updated_index !== false) { array_splice($this->to_update, $updated_index, 1); } }