ContainmentModeType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 56
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 56
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 ContainmentModeType type.
9
 */
10
class ContainmentModeType extends DataType
11
{
12
    /**
13
     * The comparison is between an exact phrase in the string and the constant.
14
     *
15
     * @var string
16
     */
17
    const EXACT_PHRASE = 'ExactPhrase';
18
19
    /**
20
     * The comparison is between the full string and the constant. The property
21
     * value and the supplied constant are precisely the same.
22
     *
23
     * @var string
24
     */
25
    const FULL_STRING = 'FullString';
26
27
    /**
28
     * The comparison is between a prefix on individual words in the string and
29
     * the constant.
30
     *
31
     * @var string
32
     */
33
    const PREFIX_ON_WORDS = 'PrefixOnWords';
34
35
    /**
36
     * The comparison is between the string prefix and the constant.
37
     *
38
     * @var string
39
     */
40
    const PREFIXED = 'Prefixed';
41
42
    /**
43
     * The comparison is between a substring of the string and the constant.
44
     *
45
     * @var string
46
     */
47
    const SUBSTRING = 'Substring';
48
49
    /**
50
     * Element value.
51
     *
52
     * @var string
53
     */
54
    public $_;
55
56
    /**
57
     * Returns the value of this object as a string.
58
     *
59
     * @return string
60
     */
61
    public function __toString()
62
    {
63
        return $this->_;
64
    }
65
}
66