Content   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 49
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 5
lcom 0
cbo 1
dl 0
loc 49
c 0
b 0
f 0
rs 10

5 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getContent() 0 4 1
A setContent() 0 4 1
A getProperties() 0 4 1
A setProperties() 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 Doctrine\Common\Collections\ArrayCollection;
11
12
class Content
13
{
14
    /**
15
     * @var string
16
     */
17
    protected $content;
18
19
    /**
20
     * @var \Doctrine\Common\Collections\ArrayCollection
21
     */
22
    protected $properties;
23
24
    public function __construct()
25
    {
26
        $this->properties = new ArrayCollection();
27
    }
28
29
    /**
30
     * @return string
31
     */
32
    public function getContent()
33
    {
34
        return $this->content;
35
    }
36
37
    /**
38
     * @param string $content
39
     */
40
    public function setContent($content)
41
    {
42
        $this->content = $content;
43
    }
44
45
    /**
46
     * @return \Doctrine\Common\Collections\ArrayCollection
47
     */
48
    public function getProperties()
49
    {
50
        return $this->properties;
51
    }
52
53
    /**
54
     * @param \Doctrine\Common\Collections\ArrayCollection $properties
55
     */
56
    public function setProperties(ArrayCollection $properties)
57
    {
58
        $this->properties = $properties;
59
    }
60
}
61