PHP Class Appzcoder\CrudGenerator\Commands\CrudLangCommand

Inheritance: extends Illuminate\Console\Command
Mostrar archivo 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_oe property

Name of the Crud.
protected string $crudName
return string

$description protected_oe property

The console command description.
protected string $description
return string

$formFields protected_oe property

Form's fields.
protected array $formFields
return array

$locales protected_oe property

The locale string.
protected string $locales
return string

$signature protected_oe property

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