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

ProcessBuilder::create()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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