PHP Class Spatie\SlashCommand\Handlers\Help

Inheritance: extends SignatureHandler
Afficher le fichier Open project: spatie/laravel-slack-slash-command

Protected Properties

Свойство Type Description
$description
$signature

Méthodes publiques

Méthode Description
handle ( Request $request ) : Response Handle the given request.

Méthodes protégées

Méthode Description
displayHelpForCommand ( Collection $handlers, string $command ) : Response Show the help information for a single SignatureHandler.
displayListOfAllCommands ( Collection $handlers ) : Response Show a list of all available handlers.
findAvailableHandlers ( ) : Collection Find all handlers that are available for the current SlashCommand and have a signature.

Method Details

displayHelpForCommand() protected méthode

Show the help information for a single SignatureHandler.
protected displayHelpForCommand ( Collection $handlers, string $command ) : Response
$handlers Illuminate\Support\Collection
$command string
Résultat Spatie\SlashCommand\Response

displayListOfAllCommands() protected méthode

Show a list of all available handlers.
protected displayListOfAllCommands ( Collection $handlers ) : Response
$handlers Illuminate\Support\Collection
Résultat Spatie\SlashCommand\Response

findAvailableHandlers() protected méthode

Find all handlers that are available for the current SlashCommand and have a signature.
protected findAvailableHandlers ( ) : Collection
Résultat Illuminate\Support\Collection

handle() public méthode

Handle the given request.
public handle ( Request $request ) : Response
$request Spatie\SlashCommand\Request
Résultat Spatie\SlashCommand\Response

Property Details

$description protected_oe property

protected $description

$signature protected_oe property

protected $signature