DistinguishedPropertySetIdType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 75
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 75
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
 * Defines the well-known property set IDs for extended MAPI properties.
9
 */
10
class DistinguishedPropertySetIdType extends DataType
11
{
12
    /**
13
     * Identifies the address property set ID by name.
14
     *
15
     * @var string
16
     */
17
    const ADDRESS = 'Address';
18
19
    /**
20
     * Identifies the appointment property set ID by name.
21
     *
22
     * @var string
23
     */
24
    const APPOINTMENT = 'Appointment';
25
26
    /**
27
     * Identifies the calendar assistant property set ID by name.
28
     *
29
     * @var string
30
     */
31
    const CALENDAR_ASSISTANT = 'CalendarAssistant';
32
33
    /**
34
     * Identifies the common property set ID by name.
35
     *
36
     * @var string
37
     */
38
    const COMMON = 'Common';
39
40
    /**
41
     * Identifies the Internet headers property set ID by name.
42
     *
43
     * @var string
44
     */
45
    const INTERNET_HEADERS = 'InternetHeaders';
46
47
    /**
48
     * Identifies the meeting property set ID by name.
49
     *
50
     * @var string
51
     */
52
    const MEETING = 'Meeting';
53
54
    /**
55
     * Identifies the public strings property set ID by name.
56
     *
57
     * @var string
58
     */
59
    const PUBLIC_STRINGS = 'PublicStrings';
60
61
    /**
62
     * Identifies the unified messaging property set ID by name.
63
     *
64
     * @var string
65
     */
66
    const UNIFIED_MESSAGING = 'UnifiedMessaging';
67
68
    /**
69
     * Element value.
70
     *
71
     * @value
72
     */
73
    public $_;
74
75
    /**
76
     * Returns the value of this object as a string.
77
     *
78
     * @return string
79
     */
80
    public function __toString()
81
    {
82
        return $this->_;
83
    }
84
}
85