yii\redis\Connection::getDriverName PHP Method

getDriverName() public method

Returns the name of the DB driver for the current [[dsn]].
public getDriverName ( ) : string
return string name of the DB driver
    public function getDriverName()
    {
        return 'redis';
    }