PHP Class Spatie\SlashCommand\Controller

Inheritance: extends Illuminate\Routing\Controller
Mostra file Open project: spatie/laravel-slack-slash-command

Protected Properties

Property Type Description
$config Illuminate\Support\Collection
$request Request

Public Methods

Method Description
__construct ( Illuminate\Http\Request $request, Illuminate\Config\Repository $config )
getResponse ( ) : Illuminate\Http\Response

Protected Methods

Method Description
convertToResponse ( Exception $exception ) : Response
determineHandler ( ) : BaseHandler
guardAgainstInvalidRequest ( )

Method Details

__construct() public method

public __construct ( Illuminate\Http\Request $request, Illuminate\Config\Repository $config )
$request Illuminate\Http\Request
$config Illuminate\Config\Repository

convertToResponse() protected method

protected convertToResponse ( Exception $exception ) : Response
$exception Exception
return Response

determineHandler() protected method

protected determineHandler ( ) : BaseHandler
return Spatie\SlashCommand\Handlers\BaseHandler

getResponse() public method

public getResponse ( ) : Illuminate\Http\Response
return Illuminate\Http\Response

guardAgainstInvalidRequest() protected method

Property Details

$config protected_oe property

protected Collection,Illuminate\Support $config
return Illuminate\Support\Collection

$request protected_oe property

protected Request,Spatie\SlashCommand $request
return Request