File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ class Resque
24
24
* the redis server that Resque will talk to.
25
25
*
26
26
* @param mixed $server Host/port combination separated by a colon, or
27
- * a nested array of servers with host/port pairs.
27
+ * a nested array of servers with host/port pairs.
28
+ * @param int $database
28
29
*/
29
30
public static function setBackend ($ server , $ database = 0 )
30
31
{
@@ -88,6 +89,8 @@ public static function pop($queue)
88
89
/**
89
90
* Return the size (number of pending jobs) of the specified queue.
90
91
*
92
+ * @param $queue name of the queue to be checked for pendign jobs
93
+ *
91
94
* @return int The size of the queue.
92
95
*/
93
96
public static function size ($ queue )
@@ -101,7 +104,9 @@ public static function size($queue)
101
104
* @param string $queue The name of the queue to place the job in.
102
105
* @param string $class The name of the class that contains the code to execute the job.
103
106
* @param array $args Any optional arguments that should be passed when the job is executed.
104
- * @param boolean $monitor Set to true to be able to monitor the status of a job.
107
+ * @param boolean $trackStatus Set to true to be able to monitor the status of a job.
108
+ *
109
+ * @return string
105
110
*/
106
111
public static function enqueue ($ queue , $ class , $ args = null , $ trackStatus = false )
107
112
{
You can’t perform that action at this time.
0 commit comments