1 | <?php |
||
14 | class ProcessJobQueueTask extends BuildTask |
||
15 | { |
||
16 | /** |
||
17 | * {@inheritDoc} |
||
18 | * @var string |
||
19 | */ |
||
20 | private static $segment = 'ProcessJobQueueTask'; |
||
21 | |||
22 | /** |
||
23 | * @return string |
||
24 | */ |
||
25 | public function getDescription() |
||
32 | |||
33 | /** |
||
34 | * @param HTTPRequest $request |
||
35 | */ |
||
36 | public function run($request) |
||
59 | |||
60 | /** |
||
61 | * Resolves the queue name to one of a few aliases. |
||
62 | * |
||
63 | * @todo Solve the "Queued"/"queued" mystery! |
||
64 | * |
||
65 | * @param HTTPRequest $request |
||
66 | * @return string |
||
67 | */ |
||
68 | protected function getQueue($request) |
||
92 | |||
93 | /** |
||
94 | * Returns an instance of the QueuedJobService. |
||
95 | * |
||
96 | * @return QueuedJobService |
||
97 | */ |
||
98 | public function getService() |
||
102 | } |
||
103 |