Opensoft\Rollout\Feature::getRequestParam PHP Метод

getRequestParam() публичный Метод

public getRequestParam ( ) : string | null
Результат string | null
    public function getRequestParam()
    {
        return $this->requestParam;
    }

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());
 }