ImportanceChoicesType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 40
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 40
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 ImportanceChoicesType type
9
 */
10
class ImportanceChoicesType extends DataType
11
{
12
    /**
13
     * Importance level of the item.
14
     *
15
     * @var string
16
     */
17
    public $_;
18
19
    /**
20
     * High importance level.
21
     *
22
     * @var string
23
     */
24
    const HIGH = 'High';
25
26
    /**
27
     * Low importance level.
28
     *
29
     * @var string
30
     */
31
    const LOW = 'Low';
32
33
    /**
34
     * Normal importance level.
35
     *
36
     * @var string
37
     */
38
    const NORMAL = 'Normal';
39
40
    /**
41
     * Converts the object to a string.
42
     *
43
     * @return string The string representation of the current object.
44
     */
45
    public function __toString()
46
    {
47
        return $this->_;
48
    }
49
}
50