ExternalAudience   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 50
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 50
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
 * Identifies to whom external Out of Office (OOF) messages are sent..
9
 *
10
 * @package php-ews\Enumerations
11
 */
12
class ExternalAudience extends DataType
13
{
14
    /**
15
     * E-mail senders outside the mailbox user's organization who send messages
16
     * to the user will receive an external OOF message response..
17
     *
18
     * @since Exchange 2007
19
     *
20
     * @var string
21
     */
22
    const ALL = 'All';
23
24
    /**
25
     * E-mail senders outside the mailbox user's organization who send messages
26
     * to the user will only receive an external OOF message response if the
27
     * sender is in the user's Exchange store contact list.
28
     *
29
     * @since Exchange 2007
30
     *
31
     * @var string
32
     */
33
    const KNOWN = 'Known';
34
35
    /**
36
     * E-mail senders outside the mailbox user's organization who send messages
37
     * to the user will not receive an external OOF message response.
38
     *
39
     * @since Exchange 2007
40
     *
41
     * @var string
42
     */
43
    const NONE = 'None';
44
45
    /**
46
     * Element value.
47
     *
48
     * @var string
49
     */
50
    public $_;
51
52
    /**
53
     * Returns the value of this object as a string.
54
     *
55
     * @return string
56
     */
57
    public function __toString()
58
    {
59
        return $this->_;
60
    }
61
}