| 1 | <?php |
||
| 9 | class AddWebhook extends Command |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * The name and signature of the console command. |
||
| 13 | * |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $signature = 'hook:add |
||
| 17 | {url : The URL to use for the webhook} |
||
| 18 | {event : The namespaced class name of the event}'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * The console command description. |
||
| 22 | * |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $description = 'Add a new webhook to the system.'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Execute the console command. |
||
| 29 | * |
||
| 30 | * @return mixed |
||
| 31 | */ |
||
| 32 | public function handle() |
||
| 46 | } |
||
| 47 |