Documentation

MigrationFinder

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

Return values
array<string|int, string>

        
On this page

Search results