Property | Type | Description | |
---|---|---|---|
$callback | callable | Callback to handle a missing slug from Map | |
$featureMap | Zumba\Swivel\MapInterface | The feature map. | |
$index | The user's index. |
Method | Description | |
---|---|---|
__construct ( Zumba\Swivel\MapInterface $featureMap, integer | null $index = null, Psr\Log\LoggerInterface $logger = null, callable $callback = null ) | Zumba\Swivel\Bucket. | |
enabled ( Zumba\Swivel\BehaviorInterface $behavior ) : boolean | Check if a behavior is enabled for a particular context/bucket combination. | |
getIndex ( ) : integer | Get the bucket index. |
Method | Description | |
---|---|---|
randomIndex ( ) : integer | Get a random index. |
protected randomIndex ( ) : integer | ||
return | integer |
protected callable $callback | ||
return | callable |
protected MapInterface,Zumba\Swivel $featureMap | ||
return | Zumba\Swivel\MapInterface |