interface MigrationDeepFinder implements MigrationFinder (View source)

The MigrationDeepFinder interface denotes a MigrationFinder that recursively finds migrations in a directory.

Methods

string[]
findMigrations(string $directory, string|null $namespace = null)

No description

Details

string[] findMigrations(string $directory, string|null $namespace = null)

Parameters

string $directory The directory which the finder should search
string|null $namespace If not null only classes in this namespace will be returned

Return Value

string[]