ResponseTypeType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 61
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 61
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 ResponseTypeType type
9
 */
10
class ResponseTypeType extends DataType
11
{
12
    /**
13
     * Response type indicating that a request has been accepted.
14
     *
15
     * @var string
16
     */
17
    const ACCEPT = 'Accept';
18
19
    /**
20
     * Response type indicating that a request has been declined.
21
     *
22
     * @var string
23
     */
24
    const DECLNE = 'Decline';
25
26
    /**
27
     * Response type indicating that no reponse has been received.
28
     *
29
     * @var string
30
     */
31
    const NONE = 'NoResponseReceived';
32
33
    /**
34
     * Response type indicating that the attendee is the organizer.
35
     *
36
     * @var string
37
     */
38
    const ORGANIZER = 'Organizer';
39
40
    /**
41
     * Response type indicating that a request has been tentatively accepted.
42
     *
43
     * @var string
44
     */
45
    const TENTATIVE = 'Tentative';
46
47
    /**
48
     * Response type indicating that the reponse is unknown.
49
     *
50
     * @var string
51
     */
52
    const UNKNOWN = 'Unknown';
53
54
    /**
55
     * Value of the element.
56
     *
57
     * @var string
58
     */
59
    public $_;
60
61
    /**
62
     * Returns the value of this object as a string.
63
     *
64
     * @return string
65
     */
66
    public function __toString()
67
    {
68
        return $this->_;
69
    }
70
}
71