Completed
Pull Request — master (#531)
by
unknown
04:30 queued 01:22
created

ProcessExecutor::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Robo\Common;
4
5
use Robo\Robo;
6
use Robo\Task\BaseTask;
7
8
class ProcessExecutor extends BaseTask
9
{
10
    use ExecTrait;
11
12
    /** @var string */
13
    protected $command;
14
15
    public function __construct($command)
16
    {
17
        $this->command = $command;
18
        $this->logger = Robo::logger();
19
    }
20
21
    public function getCommand()
22
    {
23
        return $this->command;
24
    }
25
}
26