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

NpmFontAwesomeCssAsset::init()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

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