SensitivityChoicesType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 47
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
c 2
b 0
f 0
lcom 0
cbo 1
dl 0
loc 47
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __toString() 0 4 1
1
<?php
2
3
namespace PhpEws\DataType;
4
5
use PhpEws\DataType;
6
7
/**
8
 * Definition of the SensitivityChoicesType type
9
 */
10
class SensitivityChoicesType extends DataType
11
{
12
    /**
13
     * Sensitivity level of the item
14
     *
15
     * @var string
16
     */
17
    public $_;
18
19
    /**
20
     * Indiciates theat the item is confidential.
21
     *
22
     * @var string
23
     */
24
    const CONFIDENTIAL = 'Confidential';
25
26
    /**
27
     * Indiciates theat the item has a normal sensativity.
28
     *
29
     * @var string
30
     */
31
    const NORMAL = 'Normal';
32
33
    /**
34
     * Indiciates theat the item is personal.
35
     *
36
     * @var string
37
     */
38
    const PERSONAL = 'Personal';
39
40
    /**
41
     * Indiciates theat the item is private.
42
     *
43
     * @var string
44
     */
45
    const PRIVATE_ITEM = 'Private';
46
47
    /**
48
     * Converts the object to a string.
49
     *
50
     * @return string The string representation of the current object.
51
     */
52
    public function __toString()
53
    {
54
        return $this->_;
55
    }
56
}
57