PHP Class Appzcoder\CrudGenerator\Commands\CrudLangCommand

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

Protected Properties

Property Type Description
$crudName string Name of the Crud.
$description string The console command description.
$formFields array Form's fields.
$locales string The locale string.
$signature string The name and signature of the console command.

Public Methods

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

Private Methods

Method Description
templateVars ( string $newLangFile ) : void Translate form's fields.

Method Details

__construct() public method

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

handle() public method

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

Property Details

$crudName protected property

Name of the Crud.
protected string $crudName
return string

$description protected property

The console command description.
protected string $description
return string

$formFields protected property

Form's fields.
protected array $formFields
return array

$locales protected property

The locale string.
protected string $locales
return string

$signature protected property

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