Completed
Push — master ( a26edd...7d1928 )
by Andrii
05:28
created

OrganizationLink   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 2
dl 0
loc 11
ccs 0
cts 0
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 6 1
1
<?php
2
3
namespace hiqdev\thememanager\widgets;
4
5
use Yii;
6
use yii\base\Widget;
7
8
class OrganizationLink extends Widget
9
{
10
11
    public function run()
12
    {
13
        /// XXX build link to organizationUrl
14
        /// XXX to be changed to organizationName
15
        return Yii::$app->params['orgName'];
16
    }
17
18
}
19
20