UserFrosting API

DependableMigrationLocatorStub extends MigrationLocator

This stub contain migration which order they need to be run is different than the order the file are returned because of dependencies management.

The two migration should be run last since it depends on the other two

Table of Contents

$locator ResourceLocator
$scheme string
getMigrations() Loop all the available sprinkles and return a list of their migrations. array
__construct() Class Constructor. mixed
getMigrations() Loop all the available sprinkles and return a list of their migrations. array
getMigrationDetails() Return an array of migration details inclusing the classname and the sprinkle name. string

Properties

Methods

getMigrations()

Loop all the available sprinkles and return a list of their migrations.

public getMigrations( ) : array
Return values
array

A list of all the migration files found for every sprinkle

getMigrations()

Loop all the available sprinkles and return a list of their migrations.

public getMigrations( ) : array
Return values
array

A list of all the migration files found for every sprinkle

getMigrationDetails()

Return an array of migration details inclusing the classname and the sprinkle name.

protected getMigrationDetails( $file : Resource ) : string
Parameters
$file : Resource

The migration file

Return values
string

The migration full class path

Search results