utilize fluent interface

This commit is contained in:
Holger Reinhardt 2016-07-30 00:35:52 +02:00
parent f558730863
commit b99863c0ff

View File

@ -22,10 +22,13 @@ class Resque
/** /**
* @param string $prefix * @param string $prefix
*
* @return Resque
*/ */
public function setPrefix($prefix) public function setPrefix($prefix)
{ {
\Resque_Redis::prefix($prefix); \Resque_Redis::prefix($prefix);
return $this;
} }
/** /**