PHP Class PhpBench\Serializer\XmlEncoder

Datei anzeigen Open project: dantleech/phpbench Class Usage Examples

Public Methods

Method Description
encode ( SuiteCollection $suiteCollection ) : PhpBench\Dom\Document Encode a Suite object into a XML document.

Private Methods

Method Description
createParameter ( $parentEl, $name, $value )
processBenchmark ( Benchmark $benchmark, DOMElement $suiteEl )
processSubject ( Subject $subject, DOMElement $benchmarkEl )
processVariant ( Subject $subject, Variant $variant, DOMElement $subjectEl )

Method Details

encode() public method

Encode a Suite object into a XML document.
public encode ( SuiteCollection $suiteCollection ) : PhpBench\Dom\Document
$suiteCollection PhpBench\Model\SuiteCollection
return PhpBench\Dom\Document