OofState   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 43
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __toString() 0 4 1
1
<?php
2
/**
3
 * Contains OofState.
4
 */
5
6
namespace PhpEws\DataType;
7
8
use PhpEws\DataType;
9
10
/**
11
 * Represents a user's Out of Office (OOF) state.
12
 *
13
 * @package php-ews\Enumerations
14
 */
15
class OofState extends DataType
16
{
17
    /**
18
     * The user's OOF setting is currently disabled.
19
     *
20
     * @since Exchange 2007
21
     *
22
     * @var string
23
     */
24
    const DISABLED = 'Disabled';
25
    /**
26
     * The user's OOF setting is currently enabled.
27
     *
28
     * @since Exchange 2007
29
     *
30
     * @var string
31
     */
32
    const ENABLED = 'Enabled';
33
    /**
34
     * The user's OOF setting is scheduled to start at a specific date and end
35
     * at another specific date.
36
     *
37
     * @since Exchange 2007
38
     *
39
     * @var string
40
     */
41
    const SCHEDULED = 'Scheduled';
42
    /**
43
     * Element value.
44
     *
45
     * @var string
46
     */
47
    public $_;
48
    /**
49
     * Returns the value of this object as a string.
50
     *
51
     * @return string
52
     */
53
    public function __toString()
54
    {
55
        return $this->_;
56
    }
57
}