public function register()
    {
        $this->config = ConfigurationLoader::load($this->app);

        $this->registerServices();

        // If we want Laravel's Redis API to use Sentinel, we'll return an
        // instance of the RedisSentinelManager when requesting the "redis"
        // service:
        if ($this->config->shouldOverrideLaravelRedisApi) {
            $this->registerOverrides();
        }
    }
public function register()
    {
        $this->config = ConfigurationLoader::load($this->app);

        $this->registerServices();

        // If we want Laravel's Redis API to use Sentinel, we'll return an
        // instance of the RedisSentinelManager when requesting the "redis"
        // service:
        if ($this->config->shouldOverrideLaravelRedisApi) {
            $this->registerOverrides();
        }
    }
public function register ( ) { $ this -> config = ConfigurationLoader :: load ( $ this -> app ) ; $ this -> registerServices ( ) ; // If we want Laravel's Redis API to use Sentinel, we'll return an // instance of the RedisSentinelManager when requesting the "redis" // service: if ( $ this -> config -> shouldOverrideLaravelRedisApi ) { $ this -> registerOverrides ( ) ; } }
Bind the "redis-sentinel" database driver to the application service
container.

@return void
Bind the redis - sentinel database driver to the application service container .