Skip to content

Instantly share code, notes, and snippets.

@winni4eva
Created January 3, 2019 17:17
Show Gist options
  • Save winni4eva/5b0e1296330c16c7c9cdae64d72897ea to your computer and use it in GitHub Desktop.
Save winni4eva/5b0e1296330c16c7c9cdae64d72897ea to your computer and use it in GitHub Desktop.
Laravel FetchUserInfo Command
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class FetchUsersInfo extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'command:name';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Command description';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
//
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment