/** * Method called to associate a ChildПредписания object to this object * through the ChildПредписания foreign key attribute. * * @param ChildПредписания $l ChildПредписания * @return $this|\Проекты The current object (for fluent API support) */ public function addПредписания(ChildПредписания $l) { if ($this->collПредписанияs === null) { $this->initПредписанияs(); $this->collПредписанияsPartial = true; } if (!$this->collПредписанияs->contains($l)) { $this->doAddПредписания($l); if ($this->�редписанияsScheduledForDeletion and $this->�редписанияsScheduledForDeletion->contains($l)) { $this->�редписанияsScheduledForDeletion->remove($this->�редписанияsScheduledForDeletion->search($l)); } } return $this; }
/** * Method called to associate a ChildПредписания object to this object * through the ChildПредписания foreign key attribute. * * @param ChildПредписания $l ChildПредписания * @return $this|\Календарь The current object (for fluent API support) */ public function addПредписанияRelatedByфактическаядатаустранения(ChildПредписания $l) { if ($this->collПредписанияsRelatedByфактическаядатаустранения === null) { $this->initПредписанияsRelatedByфактическаядатаустранения(); $this->collПредписанияsRelatedByфактическаядатаустраненияPartial = true; } if (!$this->collПредписанияsRelatedByфактическаядатаустранения->contains($l)) { $this->doAddПредписанияRelatedByфактическаядатаустранения($l); if ($this->�редписанияsRelatedByфактическаядатаустраненияScheduledForDeletion and $this->�редписанияsRelatedByфактическаядатаустраненияScheduledForDeletion->contains($l)) { $this->�редписанияsRelatedByфактическаядатаустраненияScheduledForDeletion->remove($this->�редписанияsRelatedByфактическаядатаустраненияScheduledForDeletion->search($l)); } } return $this; }