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

ProcessExecutor::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 3

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 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
  use ExecTrait;
10
11
  /** @var string */
12
  protected $command;
13
14
  public function __construct($command) {
15
      $this->command = $command;
16
      $this->logger = Robo::logger();
17
  }
18
19
  public function getCommand() {
20
      return $this->command;
21
  }
22
}
23