abstract class MigrationsEvent implements MigrationEvent (View source)

Properties

string $method

The migration method that was invoked.

array<string, mixed> $options

The options provided when the migration method was invoked.

Methods

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

Create a new event instance.

Details

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

Create a new event instance.

Parameters

string $method
array $options

Return Value

void

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.