Completed
Push — master ( 6de470...9e4701 )
by Dmitry
12:25
created

Representation::getLabel()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

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 2
nc 1
nop 0
1
<?php
2
3
namespace hiqdev\higrid\representations;
4
5
use yii\base\BaseObject;
6
7
/**
8
 * Class Representation
9
 *
10
 * @author Dmytro Naumenko <[email protected]>
11
 */
12
class Representation extends BaseObject implements RepresentationInterface
13
{
14
    /**
15
     * @var string
16
     */
17
    public $label;
18
19
    /**
20
     * @var array
21
     */
22
    public $columns = [];
23
24
    /**
25
     * {@inheritdoc}
26
     */
27
    public function getColumns()
28
    {
29
        return $this->columns;
30
    }
31
32
    /**
33
     * @return {@inheritdoc}
0 ignored issues
show
Documentation introduced by
The doc-type {@inheritdoc} could not be parsed: Unknown type name "{@inheritdoc}" at position 0. (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
34
     */
35
    public function getLabel()
36
    {
37
        return $this->label;
38
    }
39
}
40