public function addPlan(Plan $plan) { if ($this->plans->contains($plan)) { return; } $this->plans->add($plan); $plan->setServiceDescribe($this); }