프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$callback | callable | Callback to handle a missing slug from Map | |
$featureMap | Zumba\Swivel\MapInterface | The feature map. | |
$index | The user's index. |
메소드 | 설명 | |
---|---|---|
__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. |
메소드 | 설명 | |
---|---|---|
randomIndex ( ) : integer | Get a random index. |
protected callable $callback | ||
리턴 | callable |
protected MapInterface,Zumba\Swivel $featureMap | ||
리턴 | Zumba\Swivel\MapInterface |