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

CdnBrandCssAsset::init()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 5
ccs 4
cts 4
cp 1
crap 1
rs 10
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