Scientist\Report::__construct PHP Method

__construct() public method

Create a new result instance.
public __construct ( string $name, Result $control, array $trials = [] )
$name string
$control Result
$trials array
    public function __construct($name, Result $control, array $trials = [])
    {
        $this->name = $name;
        $this->control = $control;
        $this->trials = $trials;
    }