| 1 | <?php |
||
| 8 | class ScaffoldCommand extends Command |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * The name and signature of the console command. |
||
| 12 | * |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $signature = 'make:auth-api'; |
||
| 16 | |||
| 17 | protected $packages = [ |
||
| 18 | 'laravel-passport', |
||
| 19 | 'tymon-jwt' |
||
| 20 | ]; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * The console command description. |
||
| 24 | * |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | protected $description = 'Scaffold api jwt authentication'; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Create a new command instance. |
||
| 31 | */ |
||
| 32 | public function __construct() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Execute the console command. |
||
| 39 | * |
||
| 40 | * @param ApiJwtScaffold $apiJwtScaffold |
||
| 41 | * @return mixed |
||
| 42 | * @throws \Exception |
||
| 43 | */ |
||
| 44 | public function handle(ApiJwtScaffold $apiJwtScaffold): void |
||
| 64 | } |
||
| 65 |