protected function runMigrationByNamespaces($migrationNamespaces, $command)
    {
        $app = $this->mockApplication();

        $migrateController = $this->buildMigration($app);
        $migrateController->migrationNamespaces = $migrationNamespaces;

        $this->runMigration($migrateController, $command);

        $this->destroyApplication();
    }
protected function runMigrationByNamespaces($migrationNamespaces, $command)
    {
        $app = $this->mockApplication();

        $migrateController = $this->buildMigration($app);
        $migrateController->migrationNamespaces = $migrationNamespaces;

        $this->runMigration($migrateController, $command);

        $this->destroyApplication();
    }
protected function runMigrationByNamespaces ( $ migrationNamespaces , $ command ) { $ app = $ this -> mockApplication ( ) ; $ migrateController = $ this -> buildMigration ( $ app ) ; $ migrateController -> migrationNamespaces = $ migrationNamespaces ; $ this -> runMigration ( $ migrateController , $ command ) ; $ this -> destroyApplication ( ) ; }
Run migration by namespaces
@param array $migrationNamespaces
@param string $command either `up` or `down`
Run migration by namespaces