vendor/uvdesk/automation-bundle/Workflow/Events/TicketActivity.php line 22

Open in your IDE?
  1. <?php
  2. namespace Webkul\UVDesk\AutomationBundle\Workflow\Events;
  3. use Webkul\UVDesk\AutomationBundle\Workflow\Event;
  4. use Webkul\UVDesk\AutomationBundle\Workflow\FunctionalGroup;
  5. use Webkul\UVDesk\CoreFrameworkBundle\Entity\Ticket;
  6. use Webkul\UVDesk\CoreFrameworkBundle\Entity\Thread;
  7. abstract class TicketActivity extends Event
  8. {
  9.     abstract public static function getId();
  10.     abstract public static function getDescription();
  11.     public static function getFunctionalGroup()
  12.     {
  13.         return FunctionalGroup::TICKET;
  14.     }
  15.     public function setTicket(Ticket $ticket)
  16.     {
  17.         $this->ticket $ticket;
  18.         return $this;
  19.     }
  20.     public function getTicket(): ?Ticket
  21.     {
  22.         return $this->ticket;
  23.     }
  24.     public function setThread(Thread $thread)
  25.     {
  26.         $this->thread $thread;
  27.         return $this;
  28.     }
  29.     public function getThread(): ?Thread
  30.     {
  31.         return $this->thread;
  32.     }
  33. }