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

NpmFontAwesomeCssAsset   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 8
c 0
b 0
f 0
dl 0
loc 29
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 3 1
1
<?php
2
3
namespace terabytesoft\assets\fontawesome\dev;
4
5
use yii\web\AssetBundle;
6
7
/**
8
 * NpmFontAwesomeCssAsset
9
 *
10
 * The asset font awesome free css webfont developer
11
 **/
12
class NpmFontAwesomeCssAsset extends AssetBundle
13
{
14
    /**
15
     * @var array $css
16
     */
17
    public $css = [
18
        'css/fontawesome.css',
19
    ];
20
21
    /**
22
     * @var array $publishOptions
23
     */
24
    public $publishOptions = [
25
        'only' => [
26
            'css/fontawesome.css',
27
        ],
28
    ];
29
30
    /**
31
     * @var string $sourcePath
32
     */
33
    public $sourcePath = '@npm/fortawesome--fontawesome-free/';
34
35
    /**
36
     * init
37
     */
38 15
    public function init(): void
39
    {
40 15
        parent::init();
41 15
    }
42
}
43