runExperiment() публичный Метод

Run an experiment.
public runExperiment ( Experiment $experiment ) : mixed
$experiment Experiment
Результат mixed
Пример #1
0
 /**
  * Execute the experiment within the laboratory.
  *
  * @return mixed
  */
 public function run()
 {
     $this->params = func_get_args();
     if ($this->laboratory) {
         return $this->laboratory->runExperiment($this);
     }
     return call_user_func($this->control, $this->params);
 }
Пример #2
0
 /**
  * Execute the experiment within the laboratory.
  *
  * @return mixed
  */
 public function run()
 {
     $this->params = func_get_args();
     return $this->laboratory->runExperiment($this);
 }