public function isActive(Rollout $rollout, RolloutUserInterface $user = null, array $requestParameters = array())
    {
        if (null == $user) {
            return $this->isParamInRequestParams($requestParameters)
                || $this->percentage == 100
                || $this->isInActiveGroup($rollout);
        }

        return $this->isParamInRequestParams($requestParameters) ||
            $this->isUserInPercentage($user) ||
            $this->isUserInActiveUsers($user) ||
            $this->isInActiveGroup($rollout, $user);
    }
public function isActive(Rollout $rollout, RolloutUserInterface $user = null, array $requestParameters = array())
    {
        if (null == $user) {
            return $this->isParamInRequestParams($requestParameters)
                || $this->percentage == 100
                || $this->isInActiveGroup($rollout);
        }

        return $this->isParamInRequestParams($requestParameters) ||
            $this->isUserInPercentage($user) ||
            $this->isUserInActiveUsers($user) ||
            $this->isInActiveGroup($rollout, $user);
    }
public function isActive ( Rollout $ rollout , RolloutUserInterface $ user = null , array $ requestParameters = array ( ) ) { if ( null == $ user ) { return $ this -> isParamInRequestParams ( $ requestParameters ) || $ this -> percentage == 100 || $ this -> isInActiveGroup ( $ rollout ) ; } return $ this -> isParamInRequestParams ( $ requestParameters ) || $ this -> isUserInPercentage ( $ user ) || $ this -> isUserInActiveUsers ( $ user ) || $ this -> isInActiveGroup ( $ rollout , $ user ) ; }
Is the feature active?

@param Rollout $rollout
@param RolloutUserInterface|null $user
@param array $requestParameters
@return bool
Is the feature active?