Completed
Push — master ( 86c83e...48c315 )
by Michał
10s
created

StaticContent   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getMetaKeywords() 0 4 1
A setMetaKeywords() 0 4 1
A getMetaDescription() 0 4 1
A setMetaDescription() 0 4 1
1
<?php
2
3
namespace Lakion\CmsPlugin\Document;
4
5
use Sylius\Component\Resource\Model\ResourceInterface;
6
use Symfony\Cmf\Bundle\ContentBundle\Doctrine\Phpcr\StaticContent as BaseStaticContent;
7
8
class StaticContent extends BaseStaticContent implements ResourceInterface
9
{
10
    /**
11
     * @var string
12
     */
13
    private $metaKeywords;
14
15
    /**
16
     * @var string
17
     */
18
    private $metaDescription;
19
20
    /**
21
     * @return string
22
     */
23
    public function getMetaKeywords()
24
    {
25
        return $this->metaKeywords;
26
    }
27
28
    /**
29
     * @param string $metaKeywords
30
     */
31
    public function setMetaKeywords($metaKeywords)
32
    {
33
        $this->metaKeywords = $metaKeywords;
34
    }
35
36
    /**
37
     * @return string
38
     */
39
    public function getMetaDescription()
40
    {
41
        return $this->metaDescription;
42
    }
43
44
    /**
45
     * @param string $metaDescription
46
     */
47
    public function setMetaDescription($metaDescription)
48
    {
49
        $this->metaDescription = $metaDescription;
50
    }
51
}
52