GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

ArticleTranslation   A
last analyzed

Complexity

Total Complexity 11

Size/Duplication

Total Lines 118
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 19
c 1
b 0
f 1
dl 0
loc 118
rs 10
wmc 11

11 Methods

Rating   Name   Duplication   Size   Complexity  
A getMetaDescription() 0 3 1
A setMetaKeywords() 0 4 1
A getId() 0 3 1
A setSlug() 0 3 1
A setTitle() 0 3 1
A getTitle() 0 3 1
A getContent() 0 3 1
A setContent() 0 3 1
A getMetaKeywords() 0 3 1
A setMetaDescription() 0 3 1
A getSlug() 0 3 1
1
<?php
2
3
namespace Odiseo\BlogBundle\Model;
4
5
use Sylius\Component\Resource\Model\AbstractTranslation;
6
7
/**
8
 * @author Diego D'amico <[email protected]>
9
 */
10
class ArticleTranslation extends AbstractTranslation implements ArticleTranslationInterface
11
{
12
    /**
13
     * @var mixed
14
     */
15
    protected $id;
16
17
    /**
18
     * @var string
19
     */
20
    protected $slug;
21
22
    /**
23
     * @var string
24
     */
25
    protected $title;
26
27
    /**
28
     * @var string
29
     */
30
    protected $content;
31
32
    /**
33
     * @var string
34
     */
35
    protected $metaKeywords;
36
    /**
37
     * @var string
38
     */
39
    protected $metaDescription;
40
    
41
    /**
42
     * {@inheritdoc}
43
     */
44
    public function getId()
45
    {
46
        return $this->id;
47
    }
48
49
    /**
50
     * {@inheritdoc}
51
     */
52
    public function getSlug()
53
    {
54
        return $this->slug;
55
    }
56
57
    /**
58
     * {@inheritdoc}
59
     */
60
    public function setSlug($slug)
61
    {
62
        $this->slug = $slug;
63
    }
64
65
    /**
66
     * {@inheritdoc}
67
     */
68
    public function getTitle()
69
    {
70
        return $this->title;
71
    }
72
73
    /**
74
     * {@inheritdoc}
75
     */
76
    public function setTitle($title)
77
    {
78
        $this->title = $title;
79
    }
80
81
    /**
82
     * {@inheritdoc}
83
     */
84
    public function getContent()
85
    {
86
        return $this->content;
87
    }
88
89
    /**
90
     * {@inheritdoc}
91
     */
92
    public function setContent($content)
93
    {
94
        $this->content = $content;
95
    }
96
97
    /**
98
     * {@inheritdoc}
99
     */
100
    public function getMetaKeywords()
101
    {
102
        return $this->metaKeywords;
103
    }
104
105
    /**
106
     * {@inheritdoc}
107
     */
108
    public function setMetaKeywords($metaKeywords)
109
    {
110
        $this->metaKeywords = $metaKeywords;
111
        return $this;
112
    }
113
114
    /**
115
     * {@inheritdoc}
116
     */
117
    public function getMetaDescription()
118
    {
119
        return $this->metaDescription;
120
    }
121
122
    /**
123
     * {@inheritdoc}
124
     */
125
    public function setMetaDescription($metaDescription)
126
    {
127
        $this->metaDescription = $metaDescription;
128
    }
129
}
130