public function loadHorizonConfiguration()
    {
        // We set the config value "redis-sentinel.load_horizon" to FALSE after
        // configuring Horizon connections to skip this step after caching the
        // application configuration via "artisan config:cache":
        if ($this->config->get('redis-sentinel.load_horizon', true) !== true) {
            return;
        }

        $horizonConfig = $this->getSelectedHorizonConnectionConfiguration();
        $options = Arr::get($horizonConfig, 'options', [ ]);
        $options['prefix'] = $this->config->get('horizon.prefix', 'horizon:');

        $horizonConfig['options'] = $options;

        $this->config->set('database.redis-sentinel.horizon', $horizonConfig);
        $this->config->set('redis-sentinel.load_horizon', false);
    }
public function loadHorizonConfiguration()
    {
        // We set the config value "redis-sentinel.load_horizon" to FALSE after
        // configuring Horizon connections to skip this step after caching the
        // application configuration via "artisan config:cache":
        if ($this->config->get('redis-sentinel.load_horizon', true) !== true) {
            return;
        }

        $horizonConfig = $this->getSelectedHorizonConnectionConfiguration();
        $options = Arr::get($horizonConfig, 'options', [ ]);
        $options['prefix'] = $this->config->get('horizon.prefix', 'horizon:');

        $horizonConfig['options'] = $options;

        $this->config->set('database.redis-sentinel.horizon', $horizonConfig);
        $this->config->set('redis-sentinel.load_horizon', false);
    }
public function loadHorizonConfiguration ( ) { // We set the config value "redis-sentinel.load_horizon" to FALSE after // configuring Horizon connections to skip this step after caching the // application configuration via "artisan config:cache": if ( $ this -> config -> get ( 'redis-sentinel.load_horizon' , true ) !== true ) { return ; } $ horizonConfig = $ this -> getSelectedHorizonConnectionConfiguration ( ) ; $ options = Arr :: get ( $ horizonConfig , 'options' , [ ] ) ; $ options [ 'prefix' ] = $ this -> config -> get ( 'horizon.prefix' , 'horizon:' ) ; $ horizonConfig [ 'options' ] = $ options ; $ this -> config -> set ( 'database.redis-sentinel.horizon' , $ horizonConfig ) ; $ this -> config -> set ( 'redis-sentinel.load_horizon' , false ) ; }
Sets the Horizon Redis Sentinel connection configuration.

@return void
Sets the Horizon Redis Sentinel connection configuration .