MigrationCreator::getStubPath()

string getStubPath() Get the path to the stubs. Return Value string

MigrationCreator::getFilesystem()

Filesystem getFilesystem() Get the filesystem instance. Return Value Filesystem

MigrationCreator::create()

string create(string $name, string $path, string $table = null, bool $create = false) Create a new migration at the given path. Parameters string $name string $path string $table bool $create Return Value string Exceptions Exception

MigrationCreator::afterCreate()

void afterCreate(Closure $callback) Register a post migration create hook. Parameters Closure $callback Return Value void

MigrationCreator

MigrationCreator class MigrationCreator (View source) Methods void __construct(Filesystem $files) Create a new migration creator instance. string create(string $name, string $path, string $table = null, bool $create = false) Create a new migration at the given path. void afterCreate(Closure $callback) Register a post migration create hook. string getStubPath() Get the path to the stubs. Filesystem getFilesystem() Get the filesystem instance.

Migration::getConnection()

string getConnection() Get the migration connection name. Return Value string

Migration

Migration class Migration (View source) Methods string getConnection() Get the migration connection name.

MigratePublishCommand::__construct()

void __construct() Create a new console command instance. Return Value void

MigratePublishCommand::table()

void table(array $headers, array $rows, string $style = 'default') Format input to textual table Parameters array $headers array $rows string $style Return Value void

MigratePublishCommand::setLaravel()

void setLaravel(Application $laravel) Set the Laravel application instance. Parameters Application $laravel Return Value void