X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FEvents%2FApplicationRemoved.php;fp=app%2FEvents%2FApplicationRemoved.php;h=26ba162cef4923cb2f42911d8a0f36ce2ff2610f;hb=cd36cb0ba2718e6bfa08765e7702d57dfe7fd733;hp=0000000000000000000000000000000000000000;hpb=590c349036ff0a4a568fb57f15bab941ed2ada00;p=alttp.git diff --git a/app/Events/ApplicationRemoved.php b/app/Events/ApplicationRemoved.php new file mode 100644 index 0000000..26ba162 --- /dev/null +++ b/app/Events/ApplicationRemoved.php @@ -0,0 +1,41 @@ +application_id = $application_id; + $this->tournament_id = $tournament_id; + } + + /** + * Get the channels the event should broadcast on. + * + * @return \Illuminate\Broadcasting\Channel|array + */ + public function broadcastOn() + { + return new Channel('Tournament.'.$this->tournament_id); + } + + public $application_id; + public $tournament_id; + +}