mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 13:42:22 +00:00
BIG-28720 Allowing to use a factory instead of manually instantite the Jobs
This commit is contained in:
parent
15a14d8a86
commit
7d2ce1bc8b
5 changed files with 106 additions and 22 deletions
9
lib/Resque/JobInterface.php
Normal file
9
lib/Resque/JobInterface.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
interface Resque_JobInterface
|
||||
{
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function perform();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue