/** * Save every DbRecord in the Collection. * * @return DbRecordCollection */ public function save() { foreach ($this as &$item) { $this->repository->save($item); } return $this; }