/** * @param ChildNotification $notification The ChildNotification object to add. */ protected function doAddNotification(ChildNotification $notification) { $this->collNotifications[] = $notification; $notification->setNote($this); }