TableGuesser

class TableGuesser (View source)

Constants

CREATE_PATTERNS
CHANGE_PATTERNS

Methods

static array guess(string $migration)

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

Details

static array guess(string $migration)

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

Parameters

string $migration

Return Value

array

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