AccountInvalidationType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
eloc 8
c 2
b 0
f 1
dl 0
loc 12
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A labels() 0 6 1
1
<?php
2
/**
3
 * Created for IG Monitoring.
4
 * User: jakim <[email protected]>
5
 * Date: 20.08.2018
6
 */
7
8
namespace app\dictionaries;
9
10
11
class AccountInvalidationType extends Dictionary
12
{
13
    const IS_PRIVATE = 1;
14
    const NOT_FOUND = 2;
15
    const RESTRICTED_PROFILE = 3;
16
17
    public static function labels(): array
18
    {
19
        return [
20
            self::IS_PRIVATE => 'Is private',
21
            self::NOT_FOUND => 'Not found',
22
            self::RESTRICTED_PROFILE => 'Restricted profile',
23
        ];
24
    }
25
}