/** * Add comment * * @param \ITSS\TicketsBundle\Entity\Comment $comment * @return Ticket */ public function addComment(\ITSS\TicketsBundle\Entity\Comment $comment) { $this->comment[] = $comment; $comment->setTicket($this); return $this; }
/** * {@inheritDoc} */ public function setTicket(\ITSS\TicketsBundle\Entity\Ticket $ticket) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTicket', array($ticket)); return parent::setTicket($ticket); }