/** * @param ChildFile $file The ChildFile object to add. */ protected function doAddFile(ChildFile $file) { $this->collFiles[] = $file; $file->setNote($this); }