PHP Class Spatie\SlashCommand\Jobs\SlashCommandResponseJob

Inheritance: implements Illuminate\Contracts\Queue\ShouldQueue, implements Spatie\SlashCommand\HandlesSlashCommand
Datei anzeigen Open project: spatie/laravel-slack-slash-command Class Usage Examples

Public Properties

Property Type Description
$request Spatie\SlashCommand\Request

Public Methods

Method Description
getRequest ( ) : Request
getResponse ( ) : Response
respondToSlack ( string $text ) : Response
setRequest ( Request $request )

Method Details

getRequest() public method

public getRequest ( ) : Request
return Spatie\SlashCommand\Request

getResponse() public method

public getResponse ( ) : Response
return Spatie\SlashCommand\Response

respondToSlack() public method

public respondToSlack ( string $text ) : Response
$text string
return Spatie\SlashCommand\Response

setRequest() public method

public setRequest ( Request $request )
$request Spatie\SlashCommand\Request

Property Details

$request public_oe property

public Request,Spatie\SlashCommand $request
return Spatie\SlashCommand\Request