LsTest.php 589 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace App\Console\Commands;
  3. use App\Service\ThirdService;
  4. use Illuminate\Console\Command;
  5. use Illuminate\Support\Facades\DB;
  6. class LsTest extends Command
  7. {
  8. /**
  9. * The console command description.
  10. *
  11. * @var string
  12. */
  13. protected $signature = 'set:lsTest';
  14. protected $description = '';
  15. protected $process;
  16. protected $key = 'lsTest';
  17. public function __construct()
  18. {
  19. parent::__construct();
  20. }
  21. public function handle()
  22. {
  23. $service = new ThirdService();
  24. $service->pushThird();
  25. }
  26. }