KindType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 34
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 34
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 KindType type.
9
 */
10
class KindType extends DataType
11
{
12
    /**
13
     * Specifies that the time zone transition target is a time zone period.
14
     *
15
     * @var string
16
     */
17
    const PERIOD = 'Period';
18
19
    /**
20
     * Specifies that the time zone transition target is a group of time zone
21
     * transitions.
22
     *
23
     * @var string
24
     */
25
    const GROUP = 'Group';
26
27
    /**
28
     * Element value.
29
     *
30
     * @var string
31
     */
32
    public $_;
33
34
    /**
35
     * Returns the value of this object as a string.
36
     *
37
     * @return string
38
     */
39
    public function __toString()
40
    {
41
        return $this->_;
42
    }
43
}
44