public function addProjectForm(ProjectForm $l) { $this->collProjectForms[] = $l; $l->setProject($this); }