GenerateKeyPair   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 7
c 1
b 0
f 0
dl 0
loc 18
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 7 1
1
<?php
2
3
/**
4
 * @copyright  Copyright (c) Flipbox Digital Limited
5
 */
6
7
namespace flipbox\keychain\web\assets\bundles;
8
9
use craft\web\AssetBundle;
10
use craft\web\assets\cp\CpAsset;
11
12
class GenerateKeyPair extends AssetBundle
13
{
14
    public $sourcePath = '@flipbox/keychain/web/assets';
15
16
    public $depends = [
17
        CpAsset::class,
18
    ];
19
20
    /**
21
     * @inheritdoc
22
     */
23
    public function init()
24
    {
25
        $this->js = [
26
            'js/GenerateKeyPair.js',
27
        ];
28
29
        parent::init();
30
    }
31
}
32