PHP Class Scientist\Report

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

Protected Properties

Property Type Description
$control Result The control result.
$name string The experiment name.
$trials array The trial results.

Public Methods

Method 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 method

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

getControl() public method

Get the control result instance.
public getControl ( ) : Result
return Result

getName() public method

Get the experiment name.
public getName ( ) : string
return string

getTrial() public method

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

getTrials() public method

Get the trial result instances.
public getTrials ( ) : array
return array

Property Details

$control protected_oe property

The control result.
protected Result,Scientist $control
return Result

$name protected_oe property

The experiment name.
protected string $name
return string

$trials protected_oe property

The trial results.
protected array $trials
return array