PHP Class InfyOm\Generator\Commands\BaseCommand

Inheritance: extends Illuminate\Console\Command
Mostrar archivo Open project: infyomlabs/laravel-generator Class Usage Examples

Public Properties

Property Type Description
$commandData InfyOm\Generator\Common\CommandData The command Data.
$composer Composer

Public Methods

Method Description
__construct ( ) Create a new command instance.
generateAPIItems ( )
generateCommonItems ( )
generateScaffoldItems ( )
getOptions ( ) : array Get the console command options.
handle ( )
isSkip ( $skip )
performPostActions ( $runMigration = false )
performPostActionsWithMigration ( )

Protected Methods

Method Description
confirmOverwrite ( $fileName, string $prompt = '' ) : boolean
getArguments ( ) : array Get the console command arguments.

Private Methods

Method Description
saveSchemaFile ( )

Method Details

__construct() public method

Create a new command instance.
public __construct ( )

confirmOverwrite() protected method

protected confirmOverwrite ( $fileName, string $prompt = '' ) : boolean
$fileName
$prompt string
return boolean

generateAPIItems() public method

public generateAPIItems ( )

generateCommonItems() public method

public generateCommonItems ( )

generateScaffoldItems() public method

getArguments() protected method

Get the console command arguments.
protected getArguments ( ) : array
return array

getOptions() public method

Get the console command options.
public getOptions ( ) : array
return array

handle() public method

public handle ( )

isSkip() public method

public isSkip ( $skip )

performPostActions() public method

public performPostActions ( $runMigration = false )

performPostActionsWithMigration() public method

Property Details

$commandData public_oe property

The command Data.
public CommandData,InfyOm\Generator\Common $commandData
return InfyOm\Generator\Common\CommandData

$composer public_oe property

public Composer $composer
return Composer