PHP Class Scientist\Intern
Interns do all the hard work, naturally. They'll execute an experiment within
the Laboratory, and record the results.
Afficher le fichier
Open project: daylerees/scientist
Class Usage Examples
Méthodes publiques
Méthode |
Description |
|
run ( Experiment $experiment ) : Report |
Run an experiment, and retrieve the result. |
|
Méthodes protégées
Méthode |
Description |
|
determineMatches ( Scientist\Matchers\Matcher $matcher, Result $control, array $trials = [] ) |
Determine whether trial results match the control. |
|
runControl ( Experiment $experiment ) : Result |
Run the control callback, and record its execution state. |
|
runTrials ( Experiment $experiment ) : Result[] |
Run trial callbacks and record their execution state. |
|
Method Details
determineMatches()
protected méthode
Determine whether trial results match the control.
protected determineMatches ( Scientist\Matchers\Matcher $matcher, Result $control, array $trials = [] ) |
$matcher |
Scientist\Matchers\Matcher |
|
$control |
Result |
|
$trials |
array |
|
Run an experiment, and retrieve the result.
public run ( Experiment $experiment ) : Report |
$experiment |
Experiment |
|
Résultat |
Report |
|
runControl()
protected méthode
Run the control callback, and record its execution state.
protected runControl ( Experiment $experiment ) : Result |
$experiment |
Experiment |
|
Résultat |
Result |
|
runTrials()
protected méthode
Run trial callbacks and record their execution state.
protected runTrials ( Experiment $experiment ) : Result[] |
$experiment |
Experiment |
|
Résultat |
Result[] |
|