Свойство | Type | Description | |
---|---|---|---|
$journals | Scientist\Journals\Journal[] | Collection of journals to report to. |
Méthode | Description | |
---|---|---|
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. |
Méthode | Description | |
---|---|---|
reportToJournals ( |
Report experiment result to registered journals. |
public addJournal ( Scientist\Journals\Journal $journal ) | ||
$journal | Scientist\Journals\Journal |
public experiment ( string $name ) : mixed | ||
$name | string | |
Résultat | mixed |
public getJournals ( ) : array | ||
Résultat | array |
public getReport ( |
||
$experiment | ||
Résultat |
protected reportToJournals ( |
||
$experiment | ||
$report | ||
Résultat | void |
public runExperiment ( |
||
$experiment | ||
Résultat | mixed |
public setJournals ( array $journals = [] ) | ||
$journals | array |