We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70cc971 commit 256e133Copy full SHA for 256e133
1 file changed
src/Illuminate/Redis/RedisManager.php
@@ -203,6 +203,17 @@ public function disableEvents()
203
{
204
$this->events = false;
205
}
206
+
207
+ /**
208
+ * Change the default driver.
209
+ *
210
+ * @param string $driver
211
+ * @return void
212
+ */
213
+ public function setDriver($driver)
214
+ {
215
+ $this->driver = $driver;
216
+ }
217
218
/**
219
* Pass methods onto the default Redis connection.
0 commit comments