Passed
Push — master ( 1d3ad7...2ebb38 )
by Revin
42s
created

AssetBundle

Complexity

Total Complexity 0

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 4
Bugs 0 Features 0
Metric Value
wmc 0
c 4
b 0
f 0
lcom 0
cbo 1
dl 0
loc 32
1
<?php
2
/**
3
 * AssetBundle.php
4
 * @author Revin Roman
5
 * @link https://rmrevin.ru
6
 */
7
8
namespace rmrevin\yii\fontawesome;
9
10
/**
11
 * Class AssetBundle
12
 * @package rmrevin\yii\fontawesome
13
 */
14
class AssetBundle extends \yii\web\AssetBundle
15
{
16
17
    /**
18
     * @inherit
19
     */
20
    public $sourcePath = '@vendor/fortawesome/font-awesome';
21
22
    /**
23
     * @inherit
24
     */
25
    public $css = [
26
        'css/font-awesome.min.css',
27
    ];
28
    
29
    /**
30
     * @inherit
31
     */
32
    public $publishOptions = [
33
            'only' => [
34
                "css/*",
35
                "fonts/*",
36
            ],
37
            'except' => [
38
                "less",
39
                "scss",
40
                "src",
41
            ],
42
    ];
43
44
 
45
}
46