/** * @param \Seh\Bundle\SehBundle\Entity\Reservit\RateType $type */ public function setType($type) { $this->type = $type; $type->addRate($this); return $this; }