PHP Class Laraveldaily\Quickadmin\Commands\QuickAdminInstall

Inheritance: extends Illuminate\Console\Command
Show file Open project: laraveldaily/quickadmin

Protected Properties

Property Type Description
$description string The console command description.
$signature string The name and signature of the console command.

Public Methods

Method Description
__construct ( ) Create a new command instance.
copyInitial ( ) Copy migration files to database_path('migrations') and User.php model to App
copyMasterTemplate ( ) Copy master template to resource/view
createRole ( ) Create first roles
createUser ( ) Create first user
handle ( ) Execute the console command.

Method Details

__construct() public method

Create a new command instance.
public __construct ( )

copyInitial() public method

Copy migration files to database_path('migrations') and User.php model to App
public copyInitial ( )

copyMasterTemplate() public method

Copy master template to resource/view
public copyMasterTemplate ( )

createRole() public method

Create first roles
public createRole ( )

createUser() public method

Create first user
public createUser ( )

handle() public method

Execute the console command.
public handle ( )

Property Details

$description protected property

The console command description.
protected string $description
return string

$signature protected property

The name and signature of the console command.
protected string $signature
return string