PHP Class Evercode1\ViewMaker\MakeMaster

Inheritance: extends Illuminate\Console\Command
ファイルを表示 Open project: evercode1/view-maker

Protected Properties

Property Type Description
$appName
$description string The console command description.
$files
$masterName
$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
getMasterTemplate ( $appName, $fileName, $masterName )
makeLayoutsFolder ( )
makeMasterFiles ( )
sendSuccessMessage ( )
setFileNamesAndPaths ( )
writeEachMasterFile ( $appName, array $files )

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

$appName protected_oe property

protected $appName

$description protected_oe property

The console command description.
protected string $description
return string

$files protected_oe property

protected $files

$masterName protected_oe property

protected $masterName

$signature protected_oe property

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