Ejemplo n.º 1
0
 public function execute(TaskEvent $event)
 {
     $user_id = $this->userSession->getId();
     if (!empty($user_id)) {
         $this->transition->save($user_id, $event->getAll());
     }
 }
Ejemplo n.º 2
0
 public function executeRequest($parameter, TaskEvent $event)
 {
     $url = $this->config->get($parameter);
     if (!empty($url)) {
         $this->webhook->notify($url, $event->getAll());
     }
 }