RowColumn::getColumnName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 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