PHP Class InfyOm\Generator\Commands\Publish\LayoutPublishCommand

Inheritance: extends PublishBaseCommand
Datei anzeigen Open project: infyomlabs/laravel-generator

Protected Properties

Property Type Description
$description string The console command description.
$laravelVersion string Laravel Application version.
$name string The console command name.

Public Methods

Method Description
getOptions ( ) : array Get the console command options.
handle ( ) : void Execute the command.

Protected Methods

Method Description
getArguments ( ) : array Get the console command arguments.

Private Methods

Method Description
copyView ( )
createDirectories ( $viewsPath )
fillTemplate ( string $templateData ) : string Replaces dynamic variables of template.
getLaravel51Views ( )
getLaravel52Views ( )
getViews ( )
publishHomeController ( )
updateRoutes ( )

Method Details

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

Execute the command.
public handle ( ) : void
return void

Property Details

$description protected_oe property

The console command description.
protected string $description
return string

$laravelVersion protected_oe property

Laravel Application version.
protected string $laravelVersion
return string

$name protected_oe property

The console command name.
protected string $name
return string