Configuration::init()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 9
ccs 0
cts 7
cp 0
rs 9.6666
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 0
crap 2
1
<?php
2
3
/**
4
 * @copyright  Copyright (c) Flipbox Digital Limited
5
 * @license    https://flipboxfactory.com/software/organization/license
6
 * @link       https://www.flipboxfactory.com/software/organization/
7
 */
8
9
namespace flipbox\organization\modules\configuration\web\assets;
10
11
use craft\web\AssetBundle;
12
use craft\web\assets\cp\CpAsset;
13
14
/**
15
 * @author Flipbox Factory <[email protected]>
16
 * @since 1.0.0
17
 */
18
class Configuration extends AssetBundle
19
{
20
21
    /**
22
     * @inheritdoc
23
     */
24
    public function init()
25
    {
26
27
        $this->css = [
28
            'Configuration.css'
29
        ];
30
31
        parent::init();
32
    }
33
34
    /**
35
     * @inheritdoc
36
     */
37
    public $sourcePath = __DIR__ . '/dist';
38
39
    /**
40
     * @inheritdoc
41
     */
42
    public $depends = [
43
        CpAsset::class,
44
    ];
45
}
46