PHP Class Encore\Admin\Commands\InstallCommand

Inheritance: extends Illuminate\Console\Command
Afficher le fichier Open project: z-song/laravel-admin

Protected Properties

Свойство Type Description
$description string The console command description.
$directory string
$name string The console command name.

Méthodes publiques

Méthode Description
createAdministratorController ( ) : void Create AdministratorController.
createAuthController ( ) : void Create AuthController.
createExampleController ( ) : void Create HomeController.
createHomeController ( ) : void Create HomeController.
fire ( ) : void Execute the console command.
publishDatabase ( ) : void Create tables and seed it.

Méthodes protégées

Méthode Description
copyLanguageFiles ( ) : void Copy language files to admin directory.
createMenuFile ( ) : void Create menu file.
createRoutesFile ( ) : void Create routes file.
getStub ( $name ) : string Get stub contents.
initAdminDirectory ( ) : void Initialize the admin directory.
makeDir ( string $path = '' ) Make new directory.

Method Details

copyLanguageFiles() protected méthode

Copy language files to admin directory.
protected copyLanguageFiles ( ) : void
Résultat void

createAdministratorController() public méthode

Create AdministratorController.
public createAdministratorController ( ) : void
Résultat void

createAuthController() public méthode

Create AuthController.
public createAuthController ( ) : void
Résultat void

createExampleController() public méthode

Create HomeController.
public createExampleController ( ) : void
Résultat void

createHomeController() public méthode

Create HomeController.
public createHomeController ( ) : void
Résultat void

createMenuFile() protected méthode

Create menu file.
protected createMenuFile ( ) : void
Résultat void

createRoutesFile() protected méthode

Create routes file.
protected createRoutesFile ( ) : void
Résultat void

fire() public méthode

Execute the console command.
public fire ( ) : void
Résultat void

getStub() protected méthode

Get stub contents.
protected getStub ( $name ) : string
$name
Résultat string

initAdminDirectory() protected méthode

Initialize the admin directory.
protected initAdminDirectory ( ) : void
Résultat void

makeDir() protected méthode

Make new directory.
protected makeDir ( string $path = '' )
$path string

publishDatabase() public méthode

Create tables and seed it.
public publishDatabase ( ) : void
Résultat void

Property Details

$description protected_oe property

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

$directory protected_oe property

protected string $directory
Résultat string

$name protected_oe property

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