1 | <?php |
||
16 | class ProcessJobQueueTask extends BuildTask |
||
17 | { |
||
18 | /** |
||
19 | * {@inheritDoc} |
||
20 | * @var string |
||
21 | */ |
||
22 | private static $segment = 'ProcessJobQueueTask'; |
||
|
|||
23 | |||
24 | /** |
||
25 | * @return string |
||
26 | */ |
||
27 | public function getDescription() |
||
34 | |||
35 | /** |
||
36 | * @param HTTPRequest $request |
||
37 | */ |
||
38 | public function run($request) |
||
65 | |||
66 | /** |
||
67 | * Resolves the queue name to one of a few aliases. |
||
68 | * |
||
69 | * @todo Solve the "Queued"/"queued" mystery! |
||
70 | * |
||
71 | * @param HTTPRequest $request |
||
72 | * @return string |
||
73 | */ |
||
74 | protected function getQueue($request) |
||
98 | |||
99 | /** |
||
100 | * Returns an instance of the QueuedJobService. |
||
101 | * |
||
102 | * @return QueuedJobService |
||
103 | */ |
||
104 | public function getService() |
||
108 | } |
||
109 |