Opensoft\Rollout\Feature::getGroups PHP Method

getGroups() public method

public getGroups ( ) : array
return 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());
 }