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

UserAssociations   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 1
cbo 1
dl 0
loc 31
ccs 0
cts 10
cp 0
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 12 1
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