abstract class AbstractFinder implements MigrationFinderInterface (View source)

Abstract base class for MigrationFinders

Methods

static 
requireOnce($path)

No description

getRealPath($directory)

No description

array
loadMigrations(array $files, string $namespace)

Load the migrations and return an array of thoses loaded migrations

callable
getFileSortCallback()

Return callable for files basename uasort

Details

static protected requireOnce($path)

Parameters

$path

protected getRealPath($directory)

Parameters

$directory

protected array loadMigrations(array $files, string $namespace)

Load the migrations and return an array of thoses loaded migrations

Parameters

array $files array of migration filename found
string $namespace namespace of thoses migrations

Return Value

array constructed with the migration name as key and the value is the fully qualified name of the migration

protected callable getFileSortCallback()

Return callable for files basename uasort

Return Value

callable