src/Controller/Component/SetupComponent.php
public function runMigration($plugin)
    {
        $command = new Migrate();
        $output = new NullOutput();
        $input = new ArrayInput(['--plugin' => $plugin]);
        $resultCode = $command->run($input, $output);
    }
public function runMigration($plugin)
    {
        $command = new Migrate();
        $output = new NullOutput();
        $input = new ArrayInput(['--plugin' => $plugin]);
        $resultCode = $command->run($input, $output);
    }
public function runMigration ( $ plugin ) { $ command = new Migrate ( ) ; $ output = new NullOutput ( ) ; $ input = new ArrayInput ( [ '--plugin' => $ plugin ] ) ; $ resultCode = $ command -> run ( $ input , $ output ) ; }
Runs the migrations for a given plugin

@param string $plugin Name of the plugin
@return void
Runs the migrations for a given plugin