/** * @param ChildNotification $notificationRelatedByOriginTypeOriginId The ChildNotification object to add. */ protected function doAddNotificationRelatedByOriginTypeOriginId(ChildNotification $notificationRelatedByOriginTypeOriginId) { $this->collNotificationsRelatedByOriginTypeOriginId[] = $notificationRelatedByOriginTypeOriginId; $notificationRelatedByOriginTypeOriginId->setOriginUser($this); }