PHP Class PhpBench\Storage\Driver\Xml\HistoryIterator

This command will iterate over the suite collections created by the XML storage driver.
Inheritance: implements PhpBench\Storage\HistoryIteratorInterface
Show file Open project: dantleech/phpbench Class Usage Examples

Public Methods

Method Description
__construct ( XmlDecoder $xmlDecoder, $path )
current ( )
key ( )
next ( )
rewind ( )
valid ( )

Private Methods

Method Description
getDirectoryIterator ( $path ) : ArrayIterator Return the iterator for a specific path (years, months, days).
getEntryIterator ( ) : ArrayIterator Return an iterator for the history entries.
getHistoryEntry ( string $path ) : HistoryEntry Hydrate and return the history entry for the given path.
init ( )

Method Details

__construct() public method

public __construct ( XmlDecoder $xmlDecoder, $path )
$xmlDecoder PhpBench\Serializer\XmlDecoder

current() public method

public current ( )

key() public method

public key ( )

next() public method

public next ( )

rewind() public method

public rewind ( )

valid() public method

public valid ( )