includes/jobqueue/JobSpecification.php 1 location
|
@@ 188-197 (lines=10) @@
|
| 185 |
|
return $info; |
| 186 |
|
} |
| 187 |
|
|
| 188 |
|
public function getRootJobParams() { |
| 189 |
|
return [ |
| 190 |
|
'rootJobSignature' => isset( $this->params['rootJobSignature'] ) |
| 191 |
|
? $this->params['rootJobSignature'] |
| 192 |
|
: null, |
| 193 |
|
'rootJobTimestamp' => isset( $this->params['rootJobTimestamp'] ) |
| 194 |
|
? $this->params['rootJobTimestamp'] |
| 195 |
|
: null |
| 196 |
|
]; |
| 197 |
|
} |
| 198 |
|
|
| 199 |
|
public function hasRootJobParams() { |
| 200 |
|
return isset( $this->params['rootJobSignature'] ) |
includes/jobqueue/Job.php 1 location
|
@@ 274-283 (lines=10) @@
|
| 271 |
|
* @return array |
| 272 |
|
* @since 1.21 |
| 273 |
|
*/ |
| 274 |
|
public function getRootJobParams() { |
| 275 |
|
return [ |
| 276 |
|
'rootJobSignature' => isset( $this->params['rootJobSignature'] ) |
| 277 |
|
? $this->params['rootJobSignature'] |
| 278 |
|
: null, |
| 279 |
|
'rootJobTimestamp' => isset( $this->params['rootJobTimestamp'] ) |
| 280 |
|
? $this->params['rootJobTimestamp'] |
| 281 |
|
: null |
| 282 |
|
]; |
| 283 |
|
} |
| 284 |
|
|
| 285 |
|
/** |
| 286 |
|
* @see JobQueue::deduplicateRootJob() |