SensitivityChoicesType::__toString()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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