public function loadConfiguration()
    {
        if ($this->shouldLoadConfiguration()) {
            $this->loadPackageConfiguration();
        }

        // Previous versions of the package looked for the value 'sentinel':
        $redisDriver = $this->config->get('database.redis.driver');
        $this->shouldOverrideLaravelRedisApi = $redisDriver === 'redis-sentinel'
            || $redisDriver === 'sentinel';

        $this->shouldIntegrateHorizon = $this->horizonAvailable
            && $this->config->get('horizon.driver') === 'redis-sentinel';
    }
public function loadConfiguration()
    {
        if ($this->shouldLoadConfiguration()) {
            $this->loadPackageConfiguration();
        }

        // Previous versions of the package looked for the value 'sentinel':
        $redisDriver = $this->config->get('database.redis.driver');
        $this->shouldOverrideLaravelRedisApi = $redisDriver === 'redis-sentinel'
            || $redisDriver === 'sentinel';

        $this->shouldIntegrateHorizon = $this->horizonAvailable
            && $this->config->get('horizon.driver') === 'redis-sentinel';
    }
public function loadConfiguration ( ) { if ( $ this -> shouldLoadConfiguration ( ) ) { $ this -> loadPackageConfiguration ( ) ; } // Previous versions of the package looked for the value 'sentinel': $ redisDriver = $ this -> config -> get ( 'database.redis.driver' ) ; $ this -> shouldOverrideLaravelRedisApi = $ redisDriver === 'redis-sentinel' || $ redisDriver === 'sentinel' ; $ this -> shouldIntegrateHorizon = $ this -> horizonAvailable && $ this -> config -> get ( 'horizon.driver' ) === 'redis-sentinel' ; }
Load the package configuration.

@return void
Load the package configuration .