Completed
Pull Request — master (#629)
by Tom
07:06
created

getMultiWordDate()   A

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
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace DoctrineModuleTest\Stdlib\Hydrator\Asset;
4
5
use DateTime;
6
7
class SimpleEntityWithMultiWordDateTime
8
{
9
    /**
10
     * @var int
11
     */
12
    protected $id;
13
14
    /**
15
     * @var DateTime
16
     */
17
    protected $multiWordDate;
18
19
    public function setId($id)
20
    {
21
        $this->id = $id;
22
    }
23
24
    public function getId()
25
    {
26
        return $this->id;
27
    }
28
29
    public function setMultiWordDate(DateTime $date = null)
30
    {
31
        $this->multiWordDate = $date;
32
    }
33
34
    public function getMultiWordDate()
35
    {
36
        return $this->multiWordDate;
37
    }
38
}
39