BaseGridLegend::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
/**
3
 * HiPanel core package
4
 *
5
 * @link      https://hipanel.com/
6
 * @package   hipanel-core
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2014-2019, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hipanel\widgets\gridLegend;
12
13
use yii\db\ActiveRecordInterface;
14
15
abstract class BaseGridLegend
16
{
17
    protected $model;
18
19
    public function __construct(ActiveRecordInterface $model)
20
    {
21
        $this->model = $model;
22
    }
23
}
24