Completed
Push — master ( e1c388...7bf58d )
by
unknown
12:55 queued 10:58
created

ShellEnvironmentVariable::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 2
1
<?php
2
3
declare(strict_types=1);
4
5
namespace PHPSu\ShellCommandBuilder\Literal;
6
7
use PHPSu\ShellCommandBuilder\ShellInterface;
8
9
final class ShellEnvironmentVariable extends ShellWord
10
{
11
    protected $isEnvironmentVariable = true;
12
    protected $useAssignOperator = true;
13
    protected $nameUpperCase = true;
14
15
    /**
16
     * ShellArgument constructor.
17
     * @param string $option
18
     * @param ShellInterface|string $value
19
     */
20
    public function __construct(string $option, $value)
21
    {
22
        parent::__construct($option, $value);
23
    }
24
}
25