Making the factory responsible to set the arguments and the queue

This commit is contained in:
Sebastian Machuca 2016-10-12 19:22:31 +11:00
parent de22db6826
commit 8f542e5035
No known key found for this signature in database
GPG key ID: 4B3DA17F9CCF39DE
3 changed files with 26 additions and 10 deletions

View file

@ -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);
}