Completed
Push — master ( 29472a...0fa5c2 )
by Richan
04:47 queued 03:37
created

ProcessBuilder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A create() 0 4 1
1
<?php
2
3
namespace Suitmedia\LighthouseAudit;
4
5
use Symfony\Component\Process\Process;
6
7
class ProcessBuilder
8
{
9
    /**
10
     * Create a new symfony process object based on
11
     * the given command strings.
12
     *
13
     * @param array $command
14
     * @return Process
15
     */
16
    public function create(array $command) :Process
17
    {
18
        return new Process($command);
19
    }
20
}
21