final class MigrationFinder extends Finder (View source)

The GlobFinder class finds migrations in a directory using the PHP glob() function.

Properties

protected PackageManager $packageManager
protected string $databasePlatformName

Methods

__construct(string $databasePlatformName)

No description

array
findMigrations(string $directory, string|null $namespace = null)

No description

Details

__construct(string $databasePlatformName)

No description

Parameters

string $databasePlatformName

array findMigrations(string $directory, string|null $namespace = null)

No description

Parameters

string $directory
string|null $namespace

Return Value

array