Opensoft\Rollout\Feature::getGroups PHP 메소드

getGroups() 공개 메소드

public getGroups ( ) : array
리턴 array
    public function getGroups()
    {
        return $this->groups;
    }

Usage Example

예제 #1
0
 public function testParseNewSettingsFormat()
 {
     $feature = new Feature('chat', '100|4,12|fivesonly|FF_facebookIntegration=1');
     $this->assertEquals(100, $feature->getPercentage());
     $this->assertEquals([4, 12], $feature->getUsers());
     $this->assertEquals(['fivesonly'], $feature->getGroups());
     $this->assertEquals('FF_facebookIntegration=1', $feature->getRequestParam());
 }