Completed
Pull Request — master (#109)
by Robbie
01:51
created

DoormanProcessManager::getWorker()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace SilverStripe\QueuedJobs\Jobs;
4
5
use AsyncPHP\Doorman\Manager\ProcessManager;
6
7
class DoormanProcessManager extends ProcessManager
8
{
9
    /**
10
     * @inheritdoc
11
     *
12
     * @return string
13
     */
14
    public function getWorker()
15
    {
16
        return BASE_PATH . "/framework/cli-script.php dev/tasks/ProcessJobQueueChildTask";
17
    }
18
}
19