PHP Class Appzcoder\CrudGenerator\Commands\CrudCommand

Inheritance: extends Illuminate\Console\Command
Show file Open project: appzcoder/crud-generator

Protected Properties

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

Public Methods

Method Description
__construct ( ) : void Create a new command instance.
handle ( ) : mixed Execute the console command.

Protected Methods

Method Description
addRoutes ( ) : array Add routes.

Method Details

__construct() public method

Create a new command instance.
public __construct ( ) : void
return void

addRoutes() protected method

Add routes.
protected addRoutes ( ) : array
return array

handle() public method

Execute the console command.
public handle ( ) : mixed
return mixed

Property Details

$controller protected property

protected string $controller
return string

$description protected property

The console command description.
protected string $description
return string

$routeName protected property

protected string $routeName
return string

$signature protected property

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