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

CdnUtilitiesJsAsset   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 15
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
 * CdnUtilitiesAsset
9
 *
10
 * The asset utilities font awesome free js svgfont content delivery network
11
 **/
12
class CdnUtilitiesJsAsset extends AssetBundle
13
{
14
    /**
15
     * @var array $js
16
     */
17
    public $js = [];
18
19
    /**
20
     * init
21
     */
22 10
    public function init(): void
23
    {
24 10
        parent::init();
25 10
        $this->js[] = [
26 10
            \Yii::$app->params['asset.fontawesome.cdn.js.v4-shims'],
27
        ];
28 10
    }
29
}
30