PhpBench\Benchmark\Metadata\SubjectMetadata::getGroups PHP Method

getGroups() public method

public getGroups ( )
    public function getGroups()
    {
        return $this->groups;
    }

Usage Example

コード例 #1
0
ファイル: Benchmark.php プロジェクト: dantleech/phpbench
 public function createSubjectFromMetadata(SubjectMetadata $metadata)
 {
     $subject = new Subject($this, $metadata->getName());
     $subject->setGroups($metadata->getGroups());
     $subject->setSleep($metadata->getSleep());
     $subject->setRetryThreshold($metadata->getRetryThreshold());
     $subject->setOutputTimeUnit($metadata->getOutputTimeUnit());
     $subject->setOutputTimePrecision($metadata->getOutputTimePrecision());
     $subject->setOutputMode($metadata->getOutputMode());
     $this->subjects[] = $subject;
     return $subject;
 }
All Usage Examples Of PhpBench\Benchmark\Metadata\SubjectMetadata::getGroups