Completed
Pull Request — master (#531)
by
unknown
03:25
created

ProcessExecutor::getCommand()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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