1 | <?php |
||
10 | abstract class ResponseJob implements ShouldQueue, HandlesSlashCommand |
||
11 | { |
||
12 | /** @var \Spatie\SlashCommand\Request */ |
||
13 | public $request; |
||
14 | |||
15 | public function getResponse(): Response |
||
19 | |||
20 | public function setResponse(Request $request) |
||
26 | |||
27 | public function respondToSlack(string $text): Response |
||
31 | |||
32 | public function getRequest(): Request |
||
36 | |||
37 | abstract public function handle(); |
||
38 | } |
||
39 |