Hal\MutaTesting\Console\MutaTestingApplication::getDefaultCommands PHP Method

getDefaultCommands() protected method

Gets the default commands that should always be available.
protected getDefaultCommands ( ) : array
return array An array of default Command instances
    protected function getDefaultCommands()
    {
        // Keep the core default commands to have the HelpCommand
        // which is used when using the --help option
        $defaultCommands = parent::getDefaultCommands();
        $defaultCommands[] = new RunMutatingCommand();
        return $defaultCommands;
    }