1.artisan命令:
php artisan make:command SendRejectEmail
2.app/Console/Commands下就会看到SendRejectEmail.php
```
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'send-reject-email:email';
/**
* The console command description.
*
* @var string
*/
protected $description = 'send reject email';
```
网友评论