RowColumn   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 23
ccs 5
cts 5
cp 1
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getColumnName() 0 4 1
1
<?php
2
3
/*
4
 * soluble-flexstore library
5
 *
6
 * @author    Vanvelthem Sébastien
7
 * @link      https://github.com/belgattitude/soluble-flexstore
8
 * @copyright Copyright (c) 2016-2017 Vanvelthem Sébastien
9
 * @license   MIT License https://github.com/belgattitude/soluble-flexstore/blob/master/LICENSE.md
10
 *
11
 */
12
13
namespace Soluble\FlexStore\Formatter;
14
15
class RowColumn
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $column_name;
21
22
    /**
23
     * @param string $column_name
24
     */
25 2
    public function __construct($column_name)
26
    {
27 2
        $this->column_name = $column_name;
28 2
    }
29
30
    /**
31
     * @return string
32
     */
33 2
    public function getColumnName()
34
    {
35 2
        return $this->column_name;
36
    }
37
}
38