get() public méthode

public get ( string $feature ) : Feature
$feature string
Résultat Feature
Exemple #1
0
 public function testRemove()
 {
     $this->rollout->activate('signup');
     $feature = $this->rollout->get('signup');
     $this->assertEquals('signup', $feature->getName());
     $this->rollout->remove('signup');
     $this->assertNotContains('signup', $this->rollout->features());
 }