Completed
Push — master ( e06ec5...c188b8 )
by Nate
12:22 queued 09:59
created

UserAssociations::init()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 12
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 12
ccs 0
cts 10
cp 0
rs 9.4285
c 1
b 0
f 0
cc 1
eloc 6
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\organizations\web\assets\userassociations;
10
11
use craft\web\AssetBundle;
12
use craft\web\assets\cp\CpAsset;
13
use flipbox\craft\elements\nestedIndex\web\assets\index\NestedElementIndex;
14
use flipbox\ember\web\assets\actions\Actions;
15
16
/**
17
 * @author Flipbox Factory <[email protected]>
18
 * @since 1.0.0
19
 */
20
class UserAssociations extends AssetBundle
21
{
22
    /**
23
     * @inheritdoc
24
     */
25
    public function init()
26
    {
27
        $this->js = [
28
            'js/ManageAssociations' . $this->dotJs()
29
        ];
30
31
        $this->css = [
32
            'css/ManageAssociations.css'
33
        ];
34
35
        parent::init();
36
    }
37
38
    /**
39
     * @inheritdoc
40
     */
41
    public $sourcePath = __DIR__ . '/dist';
42
43
    /**
44
     * @inheritdoc
45
     */
46
    public $depends = [
47
        CpAsset::class,
48
        Actions::class
49
    ];
50
}
51