Property | Type | Description | |
---|---|---|---|
$request |
Method | Description | |
---|---|---|
__construct ( |
||
canHandle ( |
If this function returns true, the handle method will get called. | |
getRequest ( ) : |
||
handle ( |
Handle the given request. Remember that Slack expects a response within three seconds after the slash command was issued. If there is more time needed, dispatch a job. | |
respondToSlack ( string $text ) : |
Method | Description | |
---|---|---|
abort ( $response ) | ||
dispatch ( |
public __construct ( |
||
$request |
protected dispatch ( |
||
$job |
abstract public handle ( |
||
$request | ||
return |
public respondToSlack ( string $text ) : |
||
$text | string | |
return |