UserFrosting API

UnfulfillableMigrationLocatorStub 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

Finds all migrations class in a given sprinkle

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