◆ __construct()
Procrastinator\Job\Job::__construct |
( |
| ) |
|
◆ getResult()
Procrastinator\Job\Job::getResult |
( |
| ) |
|
◆ getState()
Procrastinator\Job\Job::getState |
( |
| ) |
|
◆ getStateProperty()
Procrastinator\Job\Job::getStateProperty |
( |
string |
$property, |
|
|
|
$default = null |
|
) |
| |
◆ getTimeLimit()
Procrastinator\Job\Job::getTimeLimit |
( |
| ) |
|
◆ hydrate()
static Procrastinator\Job\Job::hydrate |
( |
|
$json | ) |
|
|
static |
Hydrate an object from the json created by jsonSerialize(). You will want to override this method when implementing specific jobs. You can use this function for the initial JSON decoding by calling parent::hydrate() in your implementation.
- Parameters
-
string | $json | JSON string used to hydrate a new instance of the class. |
Reimplemented in Procrastinator\Job\Method.
◆ jsonSerialize()
Procrastinator\Job\Job::jsonSerialize |
( |
| ) |
|
◆ run()
Procrastinator\Job\Job::run |
( |
| ) |
|
◆ runIt()
Procrastinator\Job\Job::runIt |
( |
| ) |
|
|
abstractprotected |
◆ setStateProperty()
Procrastinator\Job\Job::setStateProperty |
( |
|
$property, |
|
|
|
$value |
|
) |
| |
◆ setTimeLimit()
Procrastinator\Job\Job::setTimeLimit |
( |
int |
$seconds | ) |
|
The documentation for this class was generated from the following file: