abstract class MigrationEvent implements MigrationEvent (View source)

Properties

Migration $migration

A 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

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.