public getReport ( |
||
$experiment | ||
return |
public function getReport(Experiment $experiment)
{
$report = (new Intern())->run($experiment);
$this->reportToJournals($experiment, $report);
return $report;
}
/** * Execute the experiment and return a report. * * @return \Scientist\Report */ public function report() { $this->params = func_get_args(); return $this->laboratory->getReport($this); }