mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 13:42:22 +00:00
Making the factory responsible to set the arguments and the queue
This commit is contained in:
parent
de22db6826
commit
8f542e5035
3 changed files with 26 additions and 10 deletions
|
@ -4,7 +4,9 @@ interface Resque_Job_FactoryInterface
|
|||
{
|
||||
/**
|
||||
* @param $className
|
||||
* @param array $args
|
||||
* @param $queue
|
||||
* @return Resque_JobInterface
|
||||
*/
|
||||
public function create($className);
|
||||
public function create($className, array $args, $queue);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue