PHP Class Flarum\Console\Command\GenerateMigrationCommand

Inheritance: extends AbstractCommand
Afficher le fichier Open project: flarum/core

Protected Properties

Свойство Type Description
$creator Flarum\Database\MigrationCreator

Méthodes publiques

Méthode Description
__construct ( MigrationCreator $creator )

Méthodes protégées

Méthode Description
configure ( )
fire ( )
writeMigration ( string $name, string $extension, string $table, boolean $create ) : string Write the migration file to disk.

Method Details

__construct() public méthode

public __construct ( MigrationCreator $creator )
$creator Flarum\Database\MigrationCreator

configure() protected méthode

protected configure ( )

fire() protected méthode

protected fire ( )

writeMigration() protected méthode

Write the migration file to disk.
protected writeMigration ( string $name, string $extension, string $table, boolean $create ) : string
$name string
$extension string
$table string
$create boolean
Résultat string

Property Details

$creator protected_oe property

protected MigrationCreator,Flarum\Database $creator
Résultat Flarum\Database\MigrationCreator