PHP Class Socieboy\Forum\Commands\MigrateForumCommand

Inheritance: extends Illuminate\Console\Command
Show file Open project: socieboy/forum

Protected Properties

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

Public Methods

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

Protected Methods

Method Description
createMigration ( $table ) : string Create a base migration file for the reminders.
getMigrationStub ( $stub ) : string Get the contents of the reminder migration stub.

Method Details

createMigration() protected method

Create a base migration file for the reminders.
protected createMigration ( $table ) : string
$table
return string

fire() public method

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

getMigrationStub() protected method

Get the contents of the reminder migration stub.
protected getMigrationStub ( $stub ) : string
$stub
return string

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