Completed
Push — master ( fcba14...b39a1f )
by Andrii
09:07
created

src/representations/Representation.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
/**
3
 * Advanced Grid for Yii2.
4
 *
5
 * @link      https://github.com/hiqdev/yii2-higrid
6
 * @package   yii2-higrid
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hiqdev\higrid\representations;
12
13
use yii\base\BaseObject;
14
15
/**
16
 * Class Representation.
17
 *
18
 * @author Dmytro Naumenko <[email protected]>
19
 */
20
class Representation extends BaseObject implements RepresentationInterface
21
{
22
    /**
23
     * @var string
24
     */
25
    public $label;
26
27
    /**
28
     * @var array
29
     */
30
    public $columns = [];
31
32
    /**
33
     * {@inheritdoc}
34
     */
35
    public function getColumns()
36
    {
37
        return $this->columns;
38
    }
39
40
    /**
41
     * @return {@inheritdoc}
0 ignored issues
show
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...
42
     */
43
    public function getLabel()
44
    {
45
        return $this->label;
46
    }
47
}
48