class TableGuesser (View source)

Constants

CREATE_PATTERNS

CHANGE_PATTERNS

Methods

static array{string, bool}
guess(string $migration)

Attempt to guess the table name and "creation" status of the given migration.

Details

static array{string, bool} guess(string $migration)

Attempt to guess the table name and "creation" status of the given migration.

Parameters

string $migration

Return Value

array{string, bool}