ChatMakeAdapterCommand
extends Command
Table of Contents
Properties
-
$description
: mixed
-
$signature
: mixed
-
$stubs
: array<string|int, mixed>
Methods
-
handle()
: int
$description
protected
mixed
$description
= 'Scaffold a local adapter class in app/Chat/Adapters'
$signature
protected
mixed
$signature
= 'chat:make-adapter
{name : Platform name in kebab-case (e.g., "custom-api")}
{--force : Overwrite existing files}'
$stubs
private
array<string|int, mixed>
$stubs
= ['Adapter.stub' => '{class}Adapter.php', 'FormatConverter.stub' => '{class}FormatConverter.php', 'Cards.stub' => '{class}Cards.php', 'WebhookVerifier.stub' => '{class}WebhookVerifier.php']
handle()
public
handle() : int