PHP 클래스 Scientist\Intern
Interns do all the hard work, naturally. They'll execute an experiment within
the Laboratory, and record the results.
파일 보기
프로젝트 열기: daylerees/scientist
1 사용 예제들
공개 메소드들
메소드 |
설명 |
|
run ( Experiment $experiment ) : Report |
Run an experiment, and retrieve the result. |
|
보호된 메소드들
메소드 |
설명 |
|
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. |
|
메소드 상세
determineMatches()
보호된 메소드
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 |
|
리턴 |
Report |
|
Run the control callback, and record its execution state.
protected runControl ( Experiment $experiment ) : Result |
$experiment |
Experiment |
|
리턴 |
Result |
|
Run trial callbacks and record their execution state.
protected runTrials ( Experiment $experiment ) : Result[] |
$experiment |
Experiment |
|
리턴 |
Result[] |
|