MigrationFinder
in
The MigrationFinder interface defines the interface used for finding migrations in a given directory and namespace.
Table of Contents
Methods
- findMigrations() : array<string|int, string>
Methods
findMigrations()
public
findMigrations(string $directory[, string|null $namespace = null ]) : array<string|int, string>
Parameters
- $directory : string
-
The directory which the finder should search
- $namespace : string|null = null
-
If not null only classes in this namespace will be returned