vendor/uvdesk/core-framework/Entity/Ticket.php line 13

Open in your IDE?
  1. <?php
  2. namespace Webkul\UVDesk\CoreFrameworkBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Ticket
  6.  * @ORM\Entity(repositoryClass="Webkul\UVDesk\CoreFrameworkBundle\Repository\TicketRepository")
  7.  * @ORM\HasLifecycleCallbacks
  8.  * @ORM\Table(name="uv_ticket")
  9.  */
  10. class Ticket
  11. {
  12.     const AGENT_GLOBAL_ACCESS 'TICKET_GLOBAL';
  13.     const AGENT_GROUP_ACCESS 'TICKET_GROUP';
  14.     const AGENT_TEAM_ACCESS 'TICKET_TEAM';
  15.     const AGENT_INDIVIDUAL_ACCESS 'TICKET_INDIVIDUAL';
  16.     /**
  17.      * @var integer
  18.      * @ORM\Id()
  19.      * @ORM\Column(type="integer")
  20.      * @ORM\GeneratedValue(strategy="AUTO")
  21.      */
  22.     private $id;
  23.     /**
  24.      * @var string
  25.      * @ORM\Column(type="string", length=191)
  26.      */
  27.     private $source;
  28.     /**
  29.      * @var string
  30.      * @ORM\Column(type="string", length=191, nullable=true)
  31.      */
  32.     private $mailboxEmail;
  33.     /**
  34.      * @var string
  35.      * @ORM\Column(type="text", nullable=true)
  36.      */
  37.     private $subject;
  38.     /**
  39.      * @var string
  40.      * @ORM\Column(type="text", nullable=true)
  41.      */
  42.     private $referenceIds;
  43.     /**
  44.      * @var boolean
  45.      * @ORM\Column(type="boolean", options={"default": true})
  46.      */
  47.     private $isNew true;
  48.     /**
  49.      * @var boolean
  50.      * @ORM\Column(type="boolean", options={"default": false})
  51.      */
  52.     private $isReplied false;
  53.     /**
  54.      * @var boolean
  55.      * @ORM\Column(type="boolean", options={"default": true})
  56.      */
  57.     private $isReplyEnabled true;
  58.     /**
  59.      * @var boolean
  60.      * @ORM\Column(type="boolean", options={"default": false})
  61.      */
  62.     private $isStarred false;
  63.     /**
  64.      * @var boolean
  65.      * @ORM\Column(type="boolean", options={"default": false})
  66.      */
  67.     private $isTrashed false;
  68.     /**
  69.      * @var boolean
  70.      * @ORM\Column(type="boolean", options={"default": false})
  71.      */
  72.     private $isAgentViewed false;
  73.     /**
  74.      * @var boolean
  75.      * @ORM\Column(type="boolean", options={"default": false})
  76.      */
  77.     private $isCustomerViewed false;
  78.     /**
  79.      * @var \DateTime
  80.      * @ORM\Column(type="datetime")
  81.      */
  82.     private $createdAt;
  83.     /**
  84.      * @var \DateTime
  85.      * @ORM\Column(type="datetime")
  86.      */
  87.     private $updatedAt;
  88.     /**
  89.      * @var \Doctrine\Common\Collections\Collection
  90.      * @ORM\OneToMany(targetEntity="Thread", mappedBy="ticket")
  91.      */
  92.     private $threads;
  93.     /**
  94.      * @var \Doctrine\Common\Collections\Collection
  95.      * @ORM\OneToMany(targetEntity="TicketRating", mappedBy="ticket")
  96.      */
  97.     private $ratings;
  98.     /**
  99.      * @var \Doctrine\Common\Collections\Collection
  100.      * @ORM\ManyToMany(targetEntity="User")
  101.      * @ORM\JoinTable(name="uv_tickets_collaborators",
  102.      *      joinColumns={@ORM\JoinColumn(name="ticket_id", referencedColumnName="id", onDelete="CASCADE")},
  103.      *      inverseJoinColumns={@ORM\JoinColumn(name="user_id", referencedColumnName="id", onDelete="CASCADE")}
  104.      * )
  105.      */
  106.     private $collaborators;
  107.     /**
  108.      * @var \Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketStatus
  109.      * @ORM\ManyToOne(targetEntity="TicketStatus")
  110.      * @ORM\JoinColumn(name="status_id", referencedColumnName="id")
  111.      */
  112.     private $status;
  113.     /**
  114.      * @var \Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketPriority
  115.      * @ORM\ManyToOne(targetEntity="TicketPriority")
  116.      * @ORM\JoinColumn(name="priority_id", referencedColumnName="id")
  117.      */
  118.     private $priority;
  119.     /**
  120.      * @var \Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketType
  121.      * @ORM\ManyToOne(targetEntity="TicketType")
  122.      * @ORM\JoinColumn(name="type_id", referencedColumnName="id", nullable=true, onDelete="SET NULL")
  123.      */
  124.     private $type;
  125.     /**
  126.      * @var \Webkul\UVDesk\CoreFrameworkBundle\Entity\User
  127.      * @ORM\ManyToOne(targetEntity="User")
  128.      * @ORM\JoinColumn(name="customer_id", referencedColumnName="id", onDelete="CASCADE")
  129.      */
  130.     private $customer;
  131.     /**
  132.      * @var \Webkul\UVDesk\CoreFrameworkBundle\Entity\User
  133.      * @ORM\ManyToOne(targetEntity="User")
  134.      * @ORM\JoinColumn(name="agent_id", referencedColumnName="id", onDelete="SET NULL", nullable=true)
  135.      */
  136.     private $agent;
  137.     /**
  138.      * @var \Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportGroup
  139.      * @ORM\ManyToOne(targetEntity="SupportGroup", inversedBy="tickets")
  140.      * @ORM\JoinColumn(name="group_id", referencedColumnName="id", onDelete="SET NULL", nullable=true)
  141.      */
  142.     private $supportGroup;
  143.     /**
  144.      * @var \Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportTeam
  145.      * @ORM\ManyToOne(targetEntity="SupportTeam")
  146.      * @ORM\JoinColumn(name="subGroup_id", referencedColumnName="id", nullable=true, onDelete="SET NULL")
  147.      */
  148.     private $supportTeam;
  149.     /**
  150.      * @var \Doctrine\Common\Collections\Collection
  151.      * @ORM\ManyToMany(targetEntity="Tag")
  152.      * @ORM\JoinTable(name="uv_tickets_tags",
  153.      *      joinColumns={@ORM\JoinColumn(name="ticket_id", referencedColumnName="id", onDelete="CASCADE")},
  154.      *      inverseJoinColumns={@ORM\JoinColumn(name="tag_id", referencedColumnName="id", onDelete="CASCADE")}
  155.      * )
  156.      */
  157.     private $supportTags;
  158.     /**
  159.      * @var \Doctrine\Common\Collections\Collection
  160.      * @ORM\ManyToMany(targetEntity="SupportLabel")
  161.      * @ORM\JoinTable(name="uv_tickets_labels",
  162.      *      joinColumns={@ORM\JoinColumn(name="ticket_id", referencedColumnName="id", onDelete="CASCADE")},
  163.      *      inverseJoinColumns={@ORM\JoinColumn(name="label_id", referencedColumnName="id", onDelete="CASCADE")}
  164.      * )
  165.      */
  166.     private $supportLabels;
  167.     /**
  168.      * Constructor
  169.      */
  170.     public function __construct()
  171.     {
  172.         $this->threads = new \Doctrine\Common\Collections\ArrayCollection();
  173.         $this->ratings = new \Doctrine\Common\Collections\ArrayCollection();
  174.         $this->supportTags = new \Doctrine\Common\Collections\ArrayCollection();
  175.         $this->supportLabels = new \Doctrine\Common\Collections\ArrayCollection();
  176.     }
  177.     /**
  178.      * Get id
  179.      *
  180.      * @return integer
  181.      */
  182.     public function getId()
  183.     {
  184.         return $this->id;
  185.     }
  186.     /**
  187.      * Set source
  188.      *
  189.      * @param string $source
  190.      *
  191.      * @return Ticket
  192.      */
  193.     public function setSource($source)
  194.     {
  195.         $this->source $source;
  196.         return $this;
  197.     }
  198.     /**
  199.      * Get source
  200.      *
  201.      * @return string
  202.      */
  203.     public function getSource()
  204.     {
  205.         return $this->source;
  206.     }
  207.     /**
  208.      * Set mailboxEmail
  209.      *
  210.      * @param string $mailboxEmail
  211.      *
  212.      * @return Ticket
  213.      */
  214.     public function setMailboxEmail($mailboxEmail)
  215.     {
  216.         $this->mailboxEmail $mailboxEmail;
  217.         return $this;
  218.     }
  219.     /**
  220.      * Get mailboxEmail
  221.      *
  222.      * @return string
  223.      */
  224.     public function getMailboxEmail()
  225.     {
  226.         return $this->mailboxEmail;
  227.     }
  228.     /**
  229.      * Set subject
  230.      *
  231.      * @param string $subject
  232.      *
  233.      * @return Ticket
  234.      */
  235.     public function setSubject($subject)
  236.     {
  237.         $this->subject $subject;
  238.         return $this;
  239.     }
  240.     /**
  241.      * Get subject
  242.      *
  243.      * @return string
  244.      */
  245.     public function getSubject()
  246.     {
  247.         return $this->subject;
  248.     }
  249.     /**
  250.      * Set referenceIds
  251.      *
  252.      * @param string $referenceIds
  253.      *
  254.      * @return Ticket
  255.      */
  256.     public function setReferenceIds($referenceIds)
  257.     {
  258.         $this->referenceIds $referenceIds;
  259.         return $this;
  260.     }
  261.     /**
  262.      * Get referenceIds
  263.      *
  264.      * @return string
  265.      */
  266.     public function getReferenceIds()
  267.     {
  268.         return $this->referenceIds;
  269.     }
  270.     /**
  271.      * Set isNew
  272.      *
  273.      * @param boolean $isNew
  274.      *
  275.      * @return Ticket
  276.      */
  277.     public function setIsNew($isNew)
  278.     {
  279.         $this->isNew $isNew;
  280.         return $this;
  281.     }
  282.     /**
  283.      * Get isNew
  284.      *
  285.      * @return boolean
  286.      */
  287.     public function getIsNew()
  288.     {
  289.         return $this->isNew;
  290.     }
  291.     /**
  292.      * Set isReplied
  293.      *
  294.      * @param boolean $isReplied
  295.      *
  296.      * @return Ticket
  297.      */
  298.     public function setIsReplied($isReplied)
  299.     {
  300.         $this->isReplied $isReplied;
  301.         return $this;
  302.     }
  303.     /**
  304.      * Get isReplied
  305.      *
  306.      * @return boolean
  307.      */
  308.     public function getIsReplied()
  309.     {
  310.         return $this->isReplied;
  311.     }
  312.     /**
  313.      * Set isReplyEnabled
  314.      *
  315.      * @param boolean $isReplyEnabled
  316.      *
  317.      * @return Ticket
  318.      */
  319.     public function setIsReplyEnabled($isReplyEnabled)
  320.     {
  321.         $this->isReplyEnabled $isReplyEnabled;
  322.         return $this;
  323.     }
  324.     /**
  325.      * Get isReplyEnabled
  326.      *
  327.      * @return boolean
  328.      */
  329.     public function getIsReplyEnabled()
  330.     {
  331.         return $this->isReplyEnabled;
  332.     }
  333.     /**
  334.      * Set isStarred
  335.      *
  336.      * @param boolean $isStarred
  337.      *
  338.      * @return Ticket
  339.      */
  340.     public function setIsStarred($isStarred)
  341.     {
  342.         $this->isStarred $isStarred;
  343.         return $this;
  344.     }
  345.     /**
  346.      * Get isStarred
  347.      *
  348.      * @return boolean
  349.      */
  350.     public function getIsStarred()
  351.     {
  352.         return $this->isStarred;
  353.     }
  354.     /**
  355.      * Set isTrashed
  356.      *
  357.      * @param boolean $isTrashed
  358.      *
  359.      * @return Ticket
  360.      */
  361.     public function setIsTrashed($isTrashed)
  362.     {
  363.         $this->isTrashed $isTrashed;
  364.         return $this;
  365.     }
  366.     /**
  367.      * Get isTrashed
  368.      *
  369.      * @return boolean
  370.      */
  371.     public function getIsTrashed()
  372.     {
  373.         return $this->isTrashed;
  374.     }
  375.     /**
  376.      * Set isAgentViewed
  377.      *
  378.      * @param boolean $isAgentViewed
  379.      *
  380.      * @return Ticket
  381.      */
  382.     public function setIsAgentViewed($isAgentViewed)
  383.     {
  384.         $this->isAgentViewed $isAgentViewed;
  385.         return $this;
  386.     }
  387.     /**
  388.      * Get isAgentViewed
  389.      *
  390.      * @return boolean
  391.      */
  392.     public function getIsAgentViewed()
  393.     {
  394.         return $this->isAgentViewed;
  395.     }
  396.     /**
  397.      * Set isCustomerViewed
  398.      *
  399.      * @param boolean $isCustomerViewed
  400.      *
  401.      * @return Ticket
  402.      */
  403.     public function setIsCustomerViewed($isCustomerViewed)
  404.     {
  405.         $this->isCustomerViewed $isCustomerViewed;
  406.         return $this;
  407.     }
  408.     /**
  409.      * Get isCustomerViewed
  410.      *
  411.      * @return boolean
  412.      */
  413.     public function getIsCustomerViewed()
  414.     {
  415.         return $this->isCustomerViewed;
  416.     }
  417.     /**
  418.      * Set createdAt
  419.      *
  420.      * @param \DateTime $createdAt
  421.      *
  422.      * @return Ticket
  423.      */
  424.     public function setCreatedAt($createdAt)
  425.     {
  426.         $this->createdAt $createdAt;
  427.         return $this;
  428.     }
  429.     /**
  430.      * Get createdAt
  431.      *
  432.      * @return \DateTime
  433.      */
  434.     public function getCreatedAt()
  435.     {
  436.         return $this->createdAt;
  437.     }
  438.     /**
  439.      * Set updatedAt
  440.      *
  441.      * @param \DateTime $updatedAt
  442.      *
  443.      * @return Ticket
  444.      */
  445.     public function setUpdatedAt($updatedAt)
  446.     {
  447.         $this->updatedAt $updatedAt;
  448.         return $this;
  449.     }
  450.     /**
  451.      * Get updatedAt
  452.      *
  453.      * @return \DateTime
  454.      */
  455.     public function getUpdatedAt()
  456.     {
  457.         return $this->updatedAt;
  458.     }
  459.     /**
  460.      * Add thread
  461.      *
  462.      * @param \Webkul\UVDesk\CoreFrameworkBundle\Entity\Thread $thread
  463.      *
  464.      * @return Ticket
  465.      */
  466.     public function addThread(\Webkul\UVDesk\CoreFrameworkBundle\Entity\Thread $thread)
  467.     {
  468.         $this->threads[] = $thread;
  469.         return $this;
  470.     }
  471.     /**
  472.      * Remove thread
  473.      *
  474.      * @param \Webkul\UVDesk\CoreFrameworkBundle\Entity\Thread $thread
  475.      */
  476.     public function removeThread(\Webkul\UVDesk\CoreFrameworkBundle\Entity\Thread $thread)
  477.     {
  478.         $this->threads->removeElement($thread);
  479.     }
  480.     /**
  481.      * Get threads
  482.      *
  483.      * @return \Doctrine\Common\Collections\Collection
  484.      */
  485.     public function getThreads()
  486.     {
  487.         return $this->threads;
  488.     }
  489.     /**
  490.      * Add rating
  491.      *
  492.      * @param \Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketRating $rating
  493.      *
  494.      * @return Ticket
  495.      */
  496.     public function addRating(\Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketRating $rating)
  497.     {
  498.         $this->ratings[] = $rating;
  499.         return $this;
  500.     }
  501.     /**
  502.      * Remove rating
  503.      *
  504.      * @param \Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketRating $rating
  505.      */
  506.     public function removeRating(\Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketRating $rating)
  507.     {
  508.         $this->ratings->removeElement($rating);
  509.     }
  510.     /**
  511.      * Get ratings
  512.      *
  513.      * @return \Doctrine\Common\Collections\Collection
  514.      */
  515.     public function getRatings()
  516.     {
  517.         return $this->ratings;
  518.     }
  519.     /**
  520.      * Add collaborators
  521.      *
  522.      * @param \Webkul\UserBundle\Entity\User $collaborators
  523.      * @return Ticket
  524.      */
  525.     public function addCollaborator(\Webkul\UVDesk\CoreFrameworkBundle\Entity\User $collaborators)
  526.     {
  527.         $this->collaborators[] = $collaborators;
  528.         return $this;
  529.     }
  530.     /**
  531.      * Remove collaborators
  532.      *
  533.      * @param \Webkul\UserBundle\Entity\User $collaborators
  534.      */
  535.     public function removeCollaborator(\Webkul\UVDesk\CoreFrameworkBundle\Entity\User $collaborators)
  536.     {
  537.         $this->collaborators->removeElement($collaborators);
  538.     }
  539.     /**
  540.      * Get collaborators
  541.      *
  542.      * @return \Doctrine\Common\Collections\Collection
  543.      */
  544.     public function getCollaborators()
  545.     {
  546.         return $this->collaborators;
  547.     }
  548.     /**
  549.      * Set status
  550.      *
  551.      * @param \Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketStatus $status
  552.      *
  553.      * @return Ticket
  554.      */
  555.     public function setStatus(\Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketStatus $status null)
  556.     {
  557.         $this->status $status;
  558.         return $this;
  559.     }
  560.     /**
  561.      * Get status
  562.      *
  563.      * @return \Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketStatus
  564.      */
  565.     public function getStatus()
  566.     {
  567.         return $this->status;
  568.     }
  569.     /**
  570.      * Set priority
  571.      *
  572.      * @param \Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketPriority $priority
  573.      *
  574.      * @return Ticket
  575.      */
  576.     public function setPriority(\Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketPriority $priority null)
  577.     {
  578.         $this->priority $priority;
  579.         return $this;
  580.     }
  581.     /**
  582.      * Get priority
  583.      *
  584.      * @return \Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketPriority
  585.      */
  586.     public function getPriority()
  587.     {
  588.         return $this->priority;
  589.     }
  590.     /**
  591.      * Set type
  592.      *
  593.      * @param \Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketType $type
  594.      *
  595.      * @return Ticket
  596.      */
  597.     public function setType(\Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketType $type null)
  598.     {
  599.         $this->type $type;
  600.         return $this;
  601.     }
  602.     /**
  603.      * Get type
  604.      *
  605.      * @return \Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketType
  606.      */
  607.     public function getType()
  608.     {
  609.         return $this->type;
  610.     }
  611.     /**
  612.      * Set customer
  613.      *
  614.      * @param \Webkul\UVDesk\CoreFrameworkBundle\Entity\User $customer
  615.      *
  616.      * @return Ticket
  617.      */
  618.     public function setCustomer(\Webkul\UVDesk\CoreFrameworkBundle\Entity\User $customer null)
  619.     {
  620.         $this->customer $customer;
  621.         return $this;
  622.     }
  623.     /**
  624.      * Get customer
  625.      *
  626.      * @return \Webkul\UVDesk\CoreFrameworkBundle\Entity\User
  627.      */
  628.     public function getCustomer()
  629.     {
  630.         return $this->customer;
  631.     }
  632.     /**
  633.      * Set agent
  634.      *
  635.      * @param \Webkul\UVDesk\CoreFrameworkBundle\Entity\User $agent
  636.      *
  637.      * @return Ticket
  638.      */
  639.     public function setAgent(\Webkul\UVDesk\CoreFrameworkBundle\Entity\User $agent null)
  640.     {
  641.         $this->agent $agent;
  642.         return $this;
  643.     }
  644.     /**
  645.      * Get agent
  646.      *
  647.      * @return \Webkul\UVDesk\CoreFrameworkBundle\Entity\User
  648.      */
  649.     public function getAgent()
  650.     {
  651.         return $this->agent;
  652.     }
  653.     /**
  654.      * Set supportGroup
  655.      *
  656.      * @param \Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportGroup $supportGroup
  657.      *
  658.      * @return Ticket
  659.      */
  660.     public function setSupportGroup(\Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportGroup $supportGroup null)
  661.     {
  662.         $this->supportGroup $supportGroup;
  663.         return $this;
  664.     }
  665.     /**
  666.      * Get supportGroup
  667.      *
  668.      * @return \Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportGroup
  669.      */
  670.     public function getSupportGroup()
  671.     {
  672.         return $this->supportGroup;
  673.     }
  674.     /**
  675.      * Set supportTeam
  676.      *
  677.      * @param \Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportTeam $supportTeam
  678.      *
  679.      * @return Ticket
  680.      */
  681.     public function setSupportTeam(\Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportTeam $supportTeam null)
  682.     {
  683.         $this->supportTeam $supportTeam;
  684.         return $this;
  685.     }
  686.     /**
  687.      * Get supportTeam
  688.      *
  689.      * @return \Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportTeam
  690.      */
  691.     public function getSupportTeam()
  692.     {
  693.         return $this->supportTeam;
  694.     }
  695.     /**
  696.      * Add supportTag
  697.      *
  698.      * @param \Webkul\UVDesk\CoreFrameworkBundle\Entity\Tag $supportTag
  699.      *
  700.      * @return Ticket
  701.      */
  702.     public function addSupportTag(\Webkul\UVDesk\CoreFrameworkBundle\Entity\Tag $supportTag)
  703.     {
  704.         $this->supportTags[] = $supportTag;
  705.         return $this;
  706.     }
  707.     /**
  708.      * Remove supportTag
  709.      *
  710.      * @param \Webkul\UVDesk\CoreFrameworkBundle\Entity\Tag $supportTag
  711.      */
  712.     public function removeSupportTag(\Webkul\UVDesk\CoreFrameworkBundle\Entity\Tag $supportTag)
  713.     {
  714.         $this->supportTags->removeElement($supportTag);
  715.     }
  716.     /**
  717.      * Get supportTags
  718.      *
  719.      * @return \Doctrine\Common\Collections\Collection
  720.      */
  721.     public function getSupportTags()
  722.     {
  723.         return $this->supportTags;
  724.     }
  725.     /**
  726.      * Add supportLabel
  727.      *
  728.      * @param \Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportLabel $supportLabel
  729.      *
  730.      * @return Ticket
  731.      */
  732.     public function addSupportLabel(\Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportLabel $supportLabel)
  733.     {
  734.         $this->supportLabels[] = $supportLabel;
  735.         return $this;
  736.     }
  737.     /**
  738.      * Remove supportLabel
  739.      *
  740.      * @param \Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportLabel $supportLabel
  741.      */
  742.     public function removeSupportLabel(\Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportLabel $supportLabel)
  743.     {
  744.         $this->supportLabels->removeElement($supportLabel);
  745.     }
  746.     /**
  747.      * Get supportLabels
  748.      *
  749.      * @return \Doctrine\Common\Collections\Collection
  750.      */
  751.     public function getSupportLabels()
  752.     {
  753.         return $this->supportLabels;
  754.     }
  755.     /**
  756.      * Get formatted $createdAt
  757.      *
  758.      * @return \DateTime
  759.      */
  760.     public function getFormatedCreatedAt()
  761.     {
  762.         return $this->formatedCreatedAt;
  763.     }
  764. }