Method | Description | |
---|---|---|
forFeature ( string $slug ) : |
Create a new Builder instance. | |
invoke ( string $slug, mixed $a, mixed $b = null ) : mixed | Syntactic sugar for creating simple feature toggles (ternary style). | |
setBucket ( Zumba\Swivel\BucketInterface $bucket = null ) : Zumba\Swivel\ManagerInterface | Set the Swivel Bucket. |
public forFeature ( string $slug ) : |
||
$slug | string | |
return |
public setBucket ( Zumba\Swivel\BucketInterface $bucket = null ) : Zumba\Swivel\ManagerInterface | ||
$bucket | Zumba\Swivel\BucketInterface | |
return | Zumba\Swivel\ManagerInterface |