/**
  * Handle the event.
  *
  * @param  Purchased  $event
  * @return void
  */
 public function handle(Purchased $event)
 {
     HipchatNotifier::message('"' . $event->task->task . '"is completed');
 }
Beispiel #2
0
 /**
  * Handle the event.
  *
  * @param  Removed  $event
  * @return void
  */
 public function handle(Removed $event)
 {
     HipchatNotifier::message('"' . $event->task->task . '"is removed');
 }
Beispiel #3
0
 /**
  * Handle the event.
  *
  * @param  Added  $event
  * @return void
  */
 public function handle(Added $event)
 {
     HipchatNotifier::message('New task:' . $event->task->task);
 }