/** * Add child Source. * * @param \AppBundle\Entity\Source $childSource * * @return Source */ public function addChildSource(\AppBundle\Entity\Source $childSource) { $this->childSources[] = $childSource; $childSource->setParentSource($this); return $this; }