PHP Class Nvd\Crud\Commands\Crud

Inheritance: extends Illuminate\Console\Command
Afficher le fichier Open project: engrnvd/laravel-crud-generator

Méthodes publiques

Свойство Type Description
$tableName

Protected Properties

Свойство Type Description
$description string The console command description.
$signature string The name and signature of the console command.

Méthodes publiques

Méthode Description
__construct ( ) Create a new command instance.
controllerClassName ( )
controllersDir ( )
generateController ( )
generateModel ( )
generateRoute ( )
generateRouteModelBinding ( )
generateViews ( )
handle ( ) : mixed Execute the console command.
modelClassName ( )
modelVariableName ( )
modelsDir ( )
route ( )
templatesDir ( )
titlePlural ( )
titleSingular ( )
viewsDir ( )
viewsDirName ( )

Méthodes protégées

Méthode Description
confirmOverwrite ( $file )
getUpdatedContent ( $existingContent, $route )

Method Details

__construct() public méthode

Create a new command instance.
public __construct ( )

confirmOverwrite() protected méthode

protected confirmOverwrite ( $file )

controllerClassName() public méthode

public controllerClassName ( )

controllersDir() public méthode

public controllersDir ( )

generateController() public méthode

public generateController ( )

generateModel() public méthode

public generateModel ( )

generateRoute() public méthode

public generateRoute ( )

generateRouteModelBinding() public méthode

generateViews() public méthode

public generateViews ( )

getUpdatedContent() protected méthode

protected getUpdatedContent ( $existingContent, $route )

handle() public méthode

Execute the console command.
public handle ( ) : mixed
Résultat mixed

modelClassName() public méthode

public modelClassName ( )

modelVariableName() public méthode

public modelVariableName ( )

modelsDir() public méthode

public modelsDir ( )

route() public méthode

public route ( )

templatesDir() public méthode

public templatesDir ( )

titlePlural() public méthode

public titlePlural ( )

titleSingular() public méthode

public titleSingular ( )

viewsDir() public méthode

public viewsDir ( )

viewsDirName() public méthode

public viewsDirName ( )

Property Details

$description protected_oe property

The console command description.
protected string $description
Résultat string

$signature protected_oe property

The name and signature of the console command.
protected string $signature
Résultat string

$tableName public_oe property

public $tableName