mirror of
https://github.com/idanoo/laravel-resque.git
synced 2024-11-24 17:35:19 +00:00
utilize fluent interface
This commit is contained in:
parent
f558730863
commit
b99863c0ff
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user