src/Database/Migrator.php
/**
	 * Initializes the migrations array.
	 *
	 * @return void
	 */
Initializes the migrations array.
@return void
Initializes the migrations array . @return void
private function initMigrations() {
		$migrations = app()->all('Horizon\Database\Migration')->all();
		$migrations = Arr::sort($migrations, function($migration) {
			return $migration->getFileName(false);
		}, $this->sortAlgorithm);
		$this->migrations = array();
		foreach ($migrations as $migration) {
			$this->migrations[$migration->getRecordName()] = $migration->scope($this);
		}
	}
private function initMigrations ( ) { $ migrations = app ( ) -> all ( 'Horizon\Database\Migration' ) -> all ( ) ; $ migrations = Arr :: sort ( $ migrations , function ( $ migration ) { return $ migration -> getFileName ( false ) ; } , $ this -> sortAlgorithm ) ; $ this -> migrations = array ( ) ; foreach ( $ migrations as $ migration ) { $ this -> migrations [ $ migration -> getRecordName ( ) ] = $ migration -> scope ( $ this ) ; } }
Initializes the migrations array.
Initializes the migrations array .