Info   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 46
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 46
c 0
b 0
f 0
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getEtag() 0 4 1
A setEtag() 0 4 1
A getLastModified() 0 4 1
A setLastModified() 0 4 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