Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Sep 4, 2019
1 parent 7974547 commit 210b0cb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,10 @@

All notable changes to `laravel-webhook-server` will be documented in this file

## 1.2.0 - 2019-09-04

- add `getResponse`

## 1.1.0 - 2019-09-04

- Add Laravel 6 support
Expand Down
15 changes: 11 additions & 4 deletions src/CallWebhookJob.php
Expand Up @@ -100,6 +100,16 @@ public function handle()
}
}

public function tags()
{
return $this->tags;
}

public function getResponse()
{
return $this->response;
}

private function dispatchEvent(string $eventClass)
{
event(new $eventClass(
Expand All @@ -114,8 +124,5 @@ private function dispatchEvent(string $eventClass)
));
}

public function tags()
{
return $this->tags;
}

}

0 comments on commit 210b0cb

Please sign in to comment.