src/Webtrees/Module/PatronymicLineage/Model/LineageNode.php
public function addChild(Family $fams, LineageNode $child = null) {
		if($fams) {
			$this->addFamily($fams);
			$tmp = $this->linked_fams[$fams];
			$tmp[] = $child;
			$this->linked_fams[$fams] = $tmp;
		}
	}
public function addChild(Family $fams, LineageNode $child = null) {
		if($fams) {
			$this->addFamily($fams);
			$tmp = $this->linked_fams[$fams];
			$tmp[] = $child;
			$this->linked_fams[$fams] = $tmp;
		}
	}
public function addChild ( Family $ fams , LineageNode $ child = null ) { if ( $ fams ) { $ this -> addFamily ( $ fams ) ; $ tmp = $ this -> linked_fams [ $ fams ] ; $ tmp [ ] = $ child ; $ this -> linked_fams [ $ fams ] = $ tmp ; } }
Add a child LineageNode to the node

@param Fisharebest\Webtrees\Family $fams
@param LineageNode $child
Add a child LineageNode to the node