프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$journals | Scientist\Journals\Journal[] | Collection of journals to report to. |
메소드 | 설명 | |
---|---|---|
addJournal ( Scientist\Journals\Journal $journal ) | Register a new journal. | |
experiment ( string $name ) : mixed | Start a new experiment. | |
getJournals ( ) : array | Retrieve registers journals. | |
getReport ( |
Run an experiment and return the result. | |
runExperiment ( |
Run an experiment. | |
setJournals ( array $journals = [] ) | Register a collection of journals. |
메소드 | 설명 | |
---|---|---|
reportToJournals ( |
Report experiment result to registered journals. |
public addJournal ( Scientist\Journals\Journal $journal ) | ||
$journal | Scientist\Journals\Journal |
public experiment ( string $name ) : mixed | ||
$name | string | |
리턴 | mixed |
public getReport ( |
||
$experiment | ||
리턴 |
protected reportToJournals ( |
||
$experiment | ||
$report | ||
리턴 | void |
public runExperiment ( |
||
$experiment | ||
리턴 | mixed |
public setJournals ( array $journals = [] ) | ||
$journals | array |