Completed
Push — master ( 924f7d...1d4235 )
by Greg
99:30
created

LocalTransport::configure()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Consolidation\SiteProcess\Transport;
4
5
use Symfony\Component\Process\Process;
6
7
/**
8
 * LocalTransport just runs the command on the local system.
9
 */
10
class LocalTransport implements TransportInterface
11
{
12
    /**
13
     * @inheritdoc
14
     */
15
    public function configure(Process $process)
16
    {
17
    }
18
19
    /**
20
     * @inheritdoc
21
     */
22
    public function wrap($args)
23
    {
24
        return $args;
25
    }
26
27
    /**
28
     * @inheritdoc
29
     */
30
    public function addChdir($cd, $args)
31
    {
32
        return $args;
33
    }
34
}
35