abstract class MigrationsEvent implements MigrationEvent (View source)

Methods

__construct(string $method, array $options = [])

Create a new event instance.

Details

__construct(string $method, array $options = [])

Create a new event instance.

Parameters

string $method

The migration method that was invoked.

array $options

The options provided when the migration method was invoked.

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.