PHP Class PhpBench\Environment\Information

Inheritance: implements ArrayAccess, implements IteratorAggregate
Afficher le fichier Open project: dantleech/phpbench Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $name, array $information ) __construct.
getIterator ( )
getName ( ) : string Return the name of this information, it should represent the domain of the infomration, e.g. "vcs", "uname".
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )

Method Details

__construct() public méthode

__construct.
public __construct ( $name, array $information )
$information array

getIterator() public méthode

public getIterator ( )

getName() public méthode

If an information is mutually exclusive then it should use a standard name representing the category of the thing (e.g. "vcs"). This allows reports and such things to reference it reliably.
public getName ( ) : string
Résultat string

offsetExists() public méthode

public offsetExists ( $offset )

offsetGet() public méthode

public offsetGet ( $offset )

offsetSet() public méthode

public offsetSet ( $offset, $value )

offsetUnset() public méthode

public offsetUnset ( $offset )