PHP Class PhpBench\Environment\Information

Inheritance: implements ArrayAccess, implements IteratorAggregate
Mostra file Open project: dantleech/phpbench Class Usage Examples

Public Methods

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

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

getIterator() public method

public getIterator ( )

getName() public method

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
return string

offsetExists() public method

public offsetExists ( $offset )

offsetGet() public method

public offsetGet ( $offset )

offsetSet() public method

public offsetSet ( $offset, $value )

offsetUnset() public method

public offsetUnset ( $offset )