常用方法
常用方法
常用方法
常用方法
/** * Set project * * @param \AppBundle\Entity\Project $project * * @return Application */ public function setProject(\AppBundle\Entity\Project $project = null) { $this->project = $project; if (!$project->getApplications()->contains($this)) { $project->addApplication($this); } return $this; }