PHP Class Scientist\Report

Here we have the results of our experiment. My fingers are crossed for you! - Dayle.
Afficher le fichier Open project: daylerees/scientist Class Usage Examples

Protected Properties

Свойство Type Description
$control Result The control result.
$name string The experiment name.
$trials array The trial results.

Méthodes publiques

Méthode Description
__construct ( string $name, Result $control, array $trials = [] ) Create a new result instance.
getControl ( ) : Result Get the control result instance.
getName ( ) : string Get the experiment name.
getTrial ( string $name ) : Result Get a trial result instance by name.
getTrials ( ) : array Get the trial result instances.

Method Details

__construct() public méthode

Create a new result instance.
public __construct ( string $name, Result $control, array $trials = [] )
$name string
$control Result
$trials array

getControl() public méthode

Get the control result instance.
public getControl ( ) : Result
Résultat Result

getName() public méthode

Get the experiment name.
public getName ( ) : string
Résultat string

getTrial() public méthode

Get a trial result instance by name.
public getTrial ( string $name ) : Result
$name string
Résultat Result

getTrials() public méthode

Get the trial result instances.
public getTrials ( ) : array
Résultat array

Property Details

$control protected_oe property

The control result.
protected Result,Scientist $control
Résultat Result

$name protected_oe property

The experiment name.
protected string $name
Résultat string

$trials protected_oe property

The trial results.
protected array $trials
Résultat array