GenerateKeyPair::init()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 7
rs 10
cc 1
nc 1
nop 0
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