Doctrine\DBAL\Migrations\Tools\Console\ConsoleRunner::run PHP Method

run() public static method

Runs console with the given helperset.
public static run ( Symfony\Component\Console\Helper\HelperSet $helperSet, Command[] $commands = [] ) : void
$helperSet Symfony\Component\Console\Helper\HelperSet
$commands Symfony\Component\Console\Command\Command[]
return void
    public static function run(HelperSet $helperSet, $commands = [])
    {
        $cli = self::createApplication($helperSet, $commands);
        $cli->run();
    }