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