MigrationEvent

abstract class MigrationEvent implements MigrationEvent (View source)

Properties

Migration $migration An migration instance.
string $method The migration method that was called.

Methods

void __construct(Migration $migration, string $method)

Create a new event instance.

Details

void __construct(Migration $migration, string $method)

Create a new event instance.

Parameters

Migration $migration
string $method

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Database/Events/MigrationEvent.html