Test Failed
Push — master ( 475bfc...ca0e1d )
by Oss
05:46
created

ColumnPath   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 26
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
/**
3
 * @category    Brownie/BpmOnline
4
 * @author      Brownie <[email protected]>
5
 * @license     https://opensource.org/licenses/MIT
6
 */
7
8
namespace Brownie\BpmOnline\DataService\Column\Expression;
9
10
use Brownie\BpmOnline\DataService\Column\Expression;
11
12
/**
13
 * @method string getValue() Returns column path.
14
 */
15
class ColumnPath extends Expression
16
{
17
18
    protected $keyName = 'ColumnPath';
19
20
    /**
21
     * List of supported fields.
22
     *
23
     * @var array
24
     */
25
    protected $fields = [
26
        'value' => null,
27
    ];
28
29
    /**
30
     * Sets the input values.
31
     *
32
     * @param string $value Column path.
33
     */
34 3
    public function __construct($value)
35
    {
36 3
        parent::__construct([
37 3
            'value' => $value
38
        ]);
39 3
    }
40
}
41