PHP 클래스 PhpBench\Serializer\XmlDecoder

파일 보기 프로젝트 열기: dantleech/phpbench 1 사용 예제들

공개 메소드들

메소드 설명
decode ( PhpBench\Dom\Document $document ) : SuiteCollection Decode a PHPBench XML document into a SuiteCollection.
decodeFiles ( array $files ) : SuiteCollection Return a SuiteCollection from a number of PHPBench xml files.

비공개 메소드들

메소드 설명
getComputedStats ( DOMElement $element )
getParameters ( DOMElement $element )
processBenchmark ( Benchmark $benchmark, DOMElement $benchmarkEl, array $resultClasses )
processSubject ( Subject $subject, DOMElement $subjectEl, array $resultClasses )
processSuite ( DOMElement $suiteEl )
processVariant ( Variant $variant, DOMElement $variantEl, array $resultClasses )

메소드 상세

decode() 공개 메소드

Decode a PHPBench XML document into a SuiteCollection.
public decode ( PhpBench\Dom\Document $document ) : SuiteCollection
$document PhpBench\Dom\Document
리턴 PhpBench\Model\SuiteCollection

decodeFiles() 공개 메소드

Return a SuiteCollection from a number of PHPBench xml files.
public decodeFiles ( array $files ) : SuiteCollection
$files array
리턴 PhpBench\Model\SuiteCollection