MigrationPublisher (Foundation)
MigrationPublisher
class MigrationPublisher (View source)
Methods
void | __construct(Filesystem $files) Create a new migration publisher instance. | |
array | publish(string $source, string $destination) Publish the given package's migrations. | |
bool | migrationExists(string $migration, string $destination) Determine if the migration is already published. | |
array | getExistingMigrationNames(string $destination) Get the existing migration names from the destination. |
Details
void __construct(Filesystem $files)
Create a new migration publisher instance.
array publish(string $source, string $destination)
Publish the given package's migrations.
bool migrationExists(string $migration, string $destination)
Determine if the migration is already published.
array getExistingMigrationNames(string $destination)
Get the existing migration names from the destination.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Foundation/MigrationPublisher.html