Scientist\Intern::runControl PHP Method

runControl() protected method

Run the control callback, and record its execution state.
protected runControl ( Experiment $experiment ) : Result
$experiment Experiment
return Result
    protected function runControl(Experiment $experiment)
    {
        return (new Machine($experiment->getControl(), $experiment->getParams()))->execute();
    }