FontawesomeAsset
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 0
eloc 9
c 2
b 0
f 0
dl 0
loc 19
1
<?php
2
3
declare(strict_types=1);
4
5
namespace YiiRocks\SvgInline\FontAwesome;
6
7
/**
8
 * Asset bundle for the Font Awesome css files.
9
 *
10
 * FontawesomeAsset.
11
 *
12
 * @package svg-inline-fontawesome
13
 */
14
class FontawesomeAsset extends \Yiisoft\Assets\AssetBundle
15
{
16
    public ?string $basePath = '@assets';
17
18
    public ?string $baseUrl = '@assetsUrl';
19
20
    /** @var array */
21
    public array $css = [
22
        'svg-with-js.min.css',
23
    ];
24
25
    /** @var array */
26
    public array $publishOptions = [
27
        'only' => [
28
            'svg-with-js.min.css',
29
        ],
30
    ];
31
32
    public ?string $sourcePath = '@npm/fortawesome--fontawesome-free/css';
33
}
34