Ejemplo n.º 1
0
 /**
  * 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 getUser()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUser', array());
     return parent::getUser();
 }