Completed
Push — master ( d83aa3...e381cf )
by Nate
03:00 queued 10s
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 0
Metric Value
wmc 1
lcom 1
cbo 1
dl 0
loc 31
ccs 0
cts 10
cp 0
rs 10
c 0
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\ember\web\assets\actions\Actions;
14
15
/**
16
 * @author Flipbox Factory <[email protected]>
17
 * @since 1.0.0
18
 */
19
class UserAssociations extends AssetBundle
20
{
21
    /**
22
     * @inheritdoc
23
     */
24
    public function init()
25
    {
26
        $this->js = [
27
            'js/ManageAssociations' . $this->dotJs()
28
        ];
29
30
        $this->css = [
31
            'css/ManageAssociations.css'
32
        ];
33
34
        parent::init();
35
    }
36
37
    /**
38
     * @inheritdoc
39
     */
40
    public $sourcePath = __DIR__ . '/dist';
41
42
    /**
43
     * @inheritdoc
44
     */
45
    public $depends = [
46
        CpAsset::class,
47
        Actions::class
48
    ];
49
}
50