PHP Class Zizaco\Entrust\MigrationCommand

Inheritance: extends Illuminate\Console\Command
Show file Open project: zizaco/entrust

Protected Properties

Property Type Description
$description string The console command description.
$name string The console command name.

Public Methods

Method Description
fire ( ) : void Execute the console command.

Protected Methods

Method Description
createMigration ( $rolesTable, $roleUserTable, $permissionsTable, $permissionRoleTable ) : boolean Create the migration.

Method Details

createMigration() protected method

Create the migration.
protected createMigration ( $rolesTable, $roleUserTable, $permissionsTable, $permissionRoleTable ) : boolean
return boolean

fire() public method

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

Property Details

$description protected property

The console command description.
protected string $description
return string

$name protected property

The console command name.
protected string $name
return string