ContainmentComparisonType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 83
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 83
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 ContainmentComparisonType type.
9
 */
10
class ContainmentComparisonType extends DataType
11
{
12
    /**
13
     * The comparison must be exact.
14
     *
15
     * @var string
16
     */
17
    const EXACT = 'Exact';
18
19
    /**
20
     * The comparison ignores casing.
21
     *
22
     * @var string
23
     */
24
    const IGNORE_CASE = 'IgnoreCase';
25
26
    /**
27
     * The comparison ignores non-spacing characters..
28
     *
29
     * @var string
30
     */
31
    const IGNORE_CASE_AND_NON_SPACING_CHARS = 'IgnoreCaseAndNonSpacingCharacters';
32
33
    /**
34
     * The comparison ignores casing and non-spacing characters.
35
     *
36
     * @var string
37
     */
38
    const IGNORE_NON_SPACING_CHARS = 'IgnoreNonSpacingCharacters';
39
40
    /**
41
     * To be removed.
42
     *
43
     * @deprecated
44
     *
45
     * @var string
46
     */
47
    const LOOSE = 'Loose';
48
49
    /**
50
     * To be removed.
51
     *
52
     * @deprecated
53
     *
54
     * @var string
55
     */
56
    const LOOSE_AND_IGNORE_CASE = 'LooseAndIgnoreCase';
57
58
    /**
59
     * To be removed.
60
     *
61
     * @deprecated
62
     *
63
     * @var string
64
     */
65
    const LOOSE_AND_IGNORE_CASE_AND_IGNORE_NON_SPACING_CARS = 'LooseAndIgnoreCaseAndIgnoreNonSpace';
66
67
    /**
68
     * To be removed.
69
     *
70
     * @deprecated
71
     *
72
     * @var string
73
     */
74
    const LOOSE_AND_IGNORE_NON_SPACING_CHARS = 'LooseAndIgnoreNonSpace';
75
76
    /**
77
     * Element value.
78
     *
79
     * @var string
80
     */
81
    public $_;
82
83
    /**
84
     * Returns the value of this object as a string.
85
     *
86
     * @return string
87
     */
88
    public function __toString()
89
    {
90
        return $this->_;
91
    }
92
}
93