protected function getSelectedHorizonConnectionConfiguration()
    {
        $use = $this->config->get('horizon.use', 'default');
        $connectionConfig = $this->config->get("database.redis-sentinel.$use");

        if ($connectionConfig === null) {
            throw new UnexpectedValueException(
                "The Horizon Redis Sentinel connection [$use] is not defined."
            );
        }

        return $connectionConfig;
    }
protected function getSelectedHorizonConnectionConfiguration()
    {
        $use = $this->config->get('horizon.use', 'default');
        $connectionConfig = $this->config->get("database.redis-sentinel.$use");

        if ($connectionConfig === null) {
            throw new UnexpectedValueException(
                "The Horizon Redis Sentinel connection [$use] is not defined."
            );
        }

        return $connectionConfig;
    }
protected function getSelectedHorizonConnectionConfiguration ( ) { $ use = $ this -> config -> get ( 'horizon.use' , 'default' ) ; $ connectionConfig = $ this -> config -> get ( "database.redis-sentinel.$use" ) ; if ( $ connectionConfig === null ) { throw new UnexpectedValueException ( "The Horizon Redis Sentinel connection [$use] is not defined." ) ; } return $ connectionConfig ; }
Copy the Redis Sentinel connection configuration to use for Horizon
connections from the connection specified by "horizon.use".

@return array The configuration matching the connection name specified
by the "horizon.use" config directive.

@throws UnexpectedValueException If no Redis Sentinel connection matches
the name declared by "horizon.use".
Copy the Redis Sentinel connection configuration to use for Horizon connections from the connection specified by horizon . use .