DummyExtendedEnum   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A titles() 0 4 1
1
<?php
2
3
/*
4
 *  @copyright (c) 2019 Mendel <[email protected]>
5
 *  @license see license.txt
6
 */
7
8
namespace drycart\data\tests\dummy;
9
10
/**
11
 * Extended enum example for test
12
 *
13
 * @author mendel
14
 */
15
class DummyExtendedEnum extends DummyEnum
16
{
17
    const SUPER_ADMIN = 100;
18
    
19
    protected static function titles(): array
20
    {
21
        return ['USER'=>'Default user'];
22
    }
23
}
24