getReport() public method

Run an experiment and return the result.
public getReport ( Experiment $experiment ) : Report
$experiment Experiment
return Report
Example #1
0
 /**
  * Execute the experiment and return a report.
  *
  * @return \Scientist\Report
  */
 public function report()
 {
     $this->params = func_get_args();
     return $this->laboratory->getReport($this);
 }