Info::setLastModified()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
/**
4
 * @author    Markus Tacker <[email protected]>
5
 * @copyright 2013-2016 Verein zur Förderung der Netzkultur im Rhein-Main-Gebiet e.V. | http://netzkultur-rheinmain.de/
6
 */
7
8
namespace BCRM\BackendBundle\Content;
9
10
use BCRM\BackendBundle\Content\Content;
11
12
class Info extends Content
13
{
14
    /**
15
     * @var string
16
     */
17
    private $etag;
18
19
    /**
20
     * @var \DateTime
21
     */
22
    private $lastModified;
23
24
    /**
25
     * @return string
26
     */
27
    public function getEtag()
28
    {
29
        return $this->etag;
30
    }
31
32
    /**
33
     * @param string $etag
34
     */
35
    public function setEtag($etag)
36
    {
37
        $this->etag = $etag;
38
    }
39
40
    /**
41
     * @return \DateTime
42
     */
43
    public function getLastModified()
44
    {
45
        return $this->lastModified;
46
    }
47
48
    /**
49
     * @param \DateTime $lastModified
50
     */
51
    public function setLastModified(\DateTime $lastModified)
52
    {
53
        $this->lastModified = $lastModified;
54
    }
55
56
57
}
58