Completed
Push — master ( 704b82...39f57e )
by Wilmer
03:00
created

CdnBrandCssAsset   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 8
c 1
b 0
f 0
dl 0
loc 23
ccs 4
cts 4
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 5 1
1
<?php
2
3
namespace terabytesoft\assets\fontawesome\cdn;
4
5
use yii\web\AssetBundle;
6
7
/**
8
 * CdnBrandCssAsset
9
 *
10
 * The asset font awesome free brand css webfont content delivery network
11
 **/
12
class CdnBrandCssAsset extends AssetBundle
13
{
14
    /**
15
     * @var array $css
16
     */
17
    public $css = [];
18
19
    /**
20
     * @var array $depends
21
     */
22
    public $depends = [
23
        \terabytesoft\assets\fontawesome\cdn\CdnFontAwesomeCssAsset::class,
24
        \terabytesoft\assets\fontawesome\cdn\CdnUtilitiesCssAsset::class,
25
    ];
26
27
    /**
28
     * init
29
     */
30 2
    public function init()
31
    {
32 2
        parent::init();
33 2
        $this->css[] = [
34 2
            \Yii::$app->params['asset.fontawesome.cdn.css.brand'],
35
        ];
36 2
    }
37
}
38