/** * @param ChildRoutine $routine The ChildRoutine object to add. */ protected function doAddRoutine(ChildRoutine $routine) { $this->collRoutines[] = $routine; $routine->setStartgroup($this); }