src/Migration/Migrator.php
public function migrate(array $options = []): void
    {
        // Once we grab all of the migration files for the path, we will compare them
        // against the migrations that have already been run for this package then
        // run each of the outstanding migrations against a database connection.
        $files = $this->getMigrationFiles(M::TYPE_UP);

        $migrations = $this->pendingMigrations(
            $files, $this->repository->getRan()
        );

        // Once we have all these migrations that are outstanding we are ready to run
        // we will go ahead and run them "up". This will execute each migration as
        // an operation against a database. Then we'll return this list of them.
        $this->runPending($migrations, $options);
    }
public function migrate(array $options = []): void
    {
        // Once we grab all of the migration files for the path, we will compare them
        // against the migrations that have already been run for this package then
        // run each of the outstanding migrations against a database connection.
        $files = $this->getMigrationFiles(M::TYPE_UP);

        $migrations = $this->pendingMigrations(
            $files, $this->repository->getRan()
        );

        // Once we have all these migrations that are outstanding we are ready to run
        // we will go ahead and run them "up". This will execute each migration as
        // an operation against a database. Then we'll return this list of them.
        $this->runPending($migrations, $options);
    }
Run the pending migrations.

@param  array  $options
@return void