Controller/ControllerTrait.php 1 location
|
@@ 9-18 (lines=10) @@
|
| 6 |
|
|
| 7 |
|
trait ControllerTrait |
| 8 |
|
{ |
| 9 |
|
protected function validateJobTimingManager() |
| 10 |
|
{ |
| 11 |
|
if ($this->container->hasParameter('dtc_queue.job_timing_manager')) { |
| 12 |
|
$this->validateManagerType('dtc_queue.job_timing_manager'); |
| 13 |
|
} elseif ($this->container->hasParameter('dtc_queue.job_timing_manager')) { |
| 14 |
|
$this->validateManagerType('dtc_queue.run_manager'); |
| 15 |
|
} else { |
| 16 |
|
$this->validateManagerType('dtc_queue.default_manager'); |
| 17 |
|
} |
| 18 |
|
} |
| 19 |
|
|
| 20 |
|
protected function validateRunManager() |
| 21 |
|
{ |
Controller/TrendsController.php 1 location
|
@@ 279-288 (lines=10) @@
|
| 276 |
|
return $resultHash; |
| 277 |
|
} |
| 278 |
|
|
| 279 |
|
protected function validateJobTimingManager() |
| 280 |
|
{ |
| 281 |
|
if ($this->container->hasParameter('dtc_queue.job_timing_manager')) { |
| 282 |
|
$this->validateManagerType('dtc_queue.job_timing_manager'); |
| 283 |
|
} elseif ($this->container->hasParameter('dtc_queue.job_timing_manager')) { |
| 284 |
|
$this->validateManagerType('dtc_queue.run_manager'); |
| 285 |
|
} else { |
| 286 |
|
$this->validateManagerType('dtc_queue.default_manager'); |
| 287 |
|
} |
| 288 |
|
} |
| 289 |
|
} |
| 290 |
|
|