KindType::__toString()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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