Completed
Pull Request — master (#53)
by Stefan
03:41
created

StaticContent   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 45
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 45
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
    /**
12
     * @var string
13
     */
14
    private $metaKeywords;
15
16
    /**
17
     * @var string
18
     */
19
    private $metaDescription;
20
21
    /**
22
     * @return string
23
     */
24
    public function getMetaKeywords()
25
    {
26
        return $this->metaKeywords;
27
    }
28
29
    /**
30
     * @param string $metaKeywords
31
     */
32
    public function setMetaKeywords($metaKeywords)
33
    {
34
        $this->metaKeywords = $metaKeywords;
35
    }
36
37
    /**
38
     * @return string
39
     */
40
    public function getMetaDescription()
41
    {
42
        return $this->metaDescription;
43
    }
44
45
    /**
46
     * @param string $metaDescription
47
     */
48
    public function setMetaDescription($metaDescription)
49
    {
50
        $this->metaDescription = $metaDescription;
51
    }
52
}
53