public function onPeridotLoad(Command $command, CoreConfiguration $config)
    {
        if (! $this->isConcurrencyEnabled()) {
            return;
        }

        $processes = $this->getInput()->getOption('processes');

        if ($processes) {
            $this->getConfiguration()->setProcesses((int) $processes);
        }

        $this->configureCommand($command);
        $config->setReporter('concurrent');
    }
public function onPeridotLoad(Command $command, CoreConfiguration $config)
    {
        if (! $this->isConcurrencyEnabled()) {
            return;
        }

        $processes = $this->getInput()->getOption('processes');

        if ($processes) {
            $this->getConfiguration()->setProcesses((int) $processes);
        }

        $this->configureCommand($command);
        $config->setReporter('concurrent');
    }
public function onPeridotLoad ( Command $ command , CoreConfiguration $ config ) { if ( ! $ this -> isConcurrencyEnabled ( ) ) { return ; } $ processes = $ this -> getInput ( ) -> getOption ( 'processes' ) ; if ( $ processes ) { $ this -> getConfiguration ( ) -> setProcesses ( ( int ) $ processes ) ; } $ this -> configureCommand ( $ command ) ; $ config -> setReporter ( 'concurrent' ) ; }
Configures Peridot to use Peridot\Concurrency\SuiteLoader
if the concurrent option is set. This plugin forces the use of the concurrent reporter
to ensure consistent and readable results.

@return void
Configures Peridot to use Peridot \ Concurrency \ SuiteLoader if the concurrent option is set . This plugin forces the use of the concurrent reporter to ensure consistent and readable results .