protected function configureRedis()
    {
        $config = [
            'REDIS_HOST'     => null,
            'REDIS_DATABASE' => null,
            'REDIS_PORT'     => null,
        ];

        $config['REDIS_HOST'] = $this->ask('What is the host of your redis server?');
        $config['REDIS_DATABASE'] = $this->ask('What is the name of the database that Cachet should use?');
        $config['REDIS_PORT'] = $this->ask('What port should Cachet use?', 6379);

        foreach ($config as $setting => $value) {
            $this->writeEnv($setting, $value);
        }
    }
protected function configureRedis()
    {
        $config = [
            'REDIS_HOST'     => null,
            'REDIS_DATABASE' => null,
            'REDIS_PORT'     => null,
        ];

        $config['REDIS_HOST'] = $this->ask('What is the host of your redis server?');
        $config['REDIS_DATABASE'] = $this->ask('What is the name of the database that Cachet should use?');
        $config['REDIS_PORT'] = $this->ask('What port should Cachet use?', 6379);

        foreach ($config as $setting => $value) {
            $this->writeEnv($setting, $value);
        }
    }
protected function configureRedis ( ) { $ config = [ 'REDIS_HOST' => null , 'REDIS_DATABASE' => null , 'REDIS_PORT' => null , ] ; $ config [ 'REDIS_HOST' ] = $ this -> ask ( 'What is the host of your redis server?' ) ; $ config [ 'REDIS_DATABASE' ] = $ this -> ask ( 'What is the name of the database that Cachet should use?' ) ; $ config [ 'REDIS_PORT' ] = $ this -> ask ( 'What port should Cachet use?' , 6379 ) ; foreach ( $ config as $ setting => $ value ) { $ this -> writeEnv ( $ setting , $ value ) ; } }
Configure the redis connection.

@return void
Configure the redis connection .