1 | <?php |
||
9 | class SendNews extends Command |
||
10 | { |
||
11 | /** |
||
12 | * The name and signature of the console command. |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $signature = 'emails:news'; |
||
17 | |||
18 | /** |
||
19 | * The console command description. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $description = 'Send News Emails on Published Date'; |
||
24 | |||
25 | public function __construct() |
||
29 | |||
30 | /** |
||
31 | * Execute the console command. |
||
32 | * |
||
33 | * @return mixed |
||
34 | */ |
||
35 | public function handle() |
||
45 | } |
||
46 |