mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 13:42:22 +00:00
Making it compatible with PHP < 5.5
Making the factory receive the classname
This commit is contained in:
parent
7d2ce1bc8b
commit
de22db6826
3 changed files with 11 additions and 10 deletions
|
@ -3,7 +3,8 @@
|
|||
interface Resque_Job_FactoryInterface
|
||||
{
|
||||
/**
|
||||
* @param $className
|
||||
* @return Resque_JobInterface
|
||||
*/
|
||||
public function create();
|
||||
public function create($className);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue