PHP Class Evercode1\ViewMaker\MakeChildOf

Inheritance: extends Illuminate\Console\Command, use trait BuildsCrudTemplates, use trait ConfiguresCrudInput, use trait WritesCrudFiles, use trait FormatsInput, use trait BuildsTemplates, use trait WritesViewFiles, use trait HasParentAndChildAndSlug
Exibir arquivo Open project: evercode1/view-maker

Protected Properties

Property Type Description
$description string The console command description.
$parentModelPath
$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.

Private Methods

Method Description
appendToParentModel ( )
formatModel ( $model )
getParentModelCode ( array $tokens )
sendSuccessMessage ( $type )
setParentChildTokens ( )
setParentModelPath ( )

Method Details

__construct() public method

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

handle() public method

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

Property Details

$description protected_oe property

The console command description.
protected string $description
return string

$parentModelPath protected_oe property

protected $parentModelPath

$signature protected_oe property

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