PHP Class PhpBench\Storage\Archiver\XmlArchiver

Inheritance: implements PhpBench\Storage\ArchiverInterface
Datei anzeigen Open project: dantleech/phpbench

Public Methods

Method Description
__construct ( Registry $storageRegistry, XmlEncoder $xmlEncoder, XmlDecoder $xmlDecoder, $archivePath, Symfony\Component\Filesystem\Filesystem $filesystem = null )
archive ( Symfony\Component\Console\Output\OutputInterface $output )
restore ( Symfony\Component\Console\Output\OutputInterface $output )

Private Methods

Method Description
filterExisting ( $driver, array $files )
filterFiles ( DirectoryIterator $iterator )
writeProgress ( Symfony\Component\Console\Output\OutputInterface $output, $index, $count, $char = '.' )

Method Details

__construct() public method

public __construct ( Registry $storageRegistry, XmlEncoder $xmlEncoder, XmlDecoder $xmlDecoder, $archivePath, Symfony\Component\Filesystem\Filesystem $filesystem = null )
$storageRegistry PhpBench\Registry\Registry
$xmlEncoder PhpBench\Serializer\XmlEncoder
$xmlDecoder PhpBench\Serializer\XmlDecoder
$filesystem Symfony\Component\Filesystem\Filesystem

archive() public method

public archive ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

restore() public method

public restore ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface