From b99863c0ff48c769925151b817b990b339aea71c Mon Sep 17 00:00:00 2001 From: Holger Reinhardt Date: Sat, 30 Jul 2016 00:35:52 +0200 Subject: [PATCH] utilize fluent interface --- src/Resque.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Resque.php b/src/Resque.php index 4d7f596..1fe3715 100644 --- a/src/Resque.php +++ b/src/Resque.php @@ -22,10 +22,13 @@ class Resque /** * @param string $prefix + * + * @return Resque */ public function setPrefix($prefix) { \Resque_Redis::prefix($prefix); + return $this; } /**