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

DoormanProcessManager   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getWorker() 0 4 1
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