LogoList   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 9
c 0
b 0
f 0
ccs 0
cts 5
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 5 1
1
<?php
2
/**
3
 * Agency Theme for hiqdev/yii2-thememanager
4
 *
5
 * @link      https://github.com/hiqdev/yii2-theme-agency
6
 * @package   yii2-theme-agency
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2016-2018, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hiqdev\themes\agency\widgets;
12
13
use Yii;
14
use yii\base\Widget;
15
16
class LogoList extends Widget
17
{
18
    public $imagePath;
19
20
    public function run()
21
    {
22
        return $this->render('LogoList', [
23
            'logoArray' => Yii::$app->params['logoArray'],
24
            'imagePath' => $this->imagePath,
25
        ]);
26
    }
27
}
28