Completed
Pull Request — master (#531)
by
unknown
09:16
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\Contract\TaskInterface;
6
use Robo\Robo;
7
use Robo\Task\BaseTask;
8
9
class ProcessExecutor implements TaskInterface
10
{
11
    use ExecTrait;
12
    use TaskIO; // uses LoggerAwareTrait and ConfigAwareTrait
13
    use ProgressIndicatorAwareTrait;
14
15
    /** @var string */
16
    protected $command;
17
18
    public function __construct($command)
19
    {
20
        $this->command = $command;
21
        $this->logger = Robo::logger();
22
    }
23
}
24