Psr::getSlug()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace AppBundle\Entity;
4
5
class Psr
6
{
7
    /**
8
     * @var string
9
     */
10
    private $title;
11
12
    /**
13
     * @var string
14
     */
15
    private $readTime;
16
17
    /**
18
     * @var \DateTime
19
     */
20
    private $updated;
21
22
    /**
23
     * @var string
24
     */
25
    private $description;
26
27
    /**
28
     * @var string
29
     */
30
    private $content;
31
32
    /**
33
     * @var string
34
     */
35
    private $slug;
36
37
    /**
38
     * @var Psr
39
     */
40
    private $meta;
41
42
    /**
43
     * @var Psr
44
     */
45
    private $examples;
46
47
    /**
48
     * Set title
49
     *
50
     * @param string $title
51
     * @return Psr
52
     */
53
    public function setTitle($title)
54
    {
55
        $this->title = $title;
56
57
        return $this;
58
    }
59
60
    /**
61
     * Get title
62
     *
63
     * @return string
64
     */
65
    public function getTitle()
66
    {
67
        return $this->title;
68
    }
69
70
    /**
71
     * Set description
72
     *
73
     * @param string $description
74
     * @return Psr
75
     */
76
    public function setDescription($description)
77
    {
78
        $this->description = $description;
79
80
        return $this;
81
    }
82
83
    /**
84
     * Get description
85
     *
86
     * @return string
87
     */
88
    public function getDescription()
89
    {
90
        return $this->description;
91
    }
92
93
    /**
94
     * Set read time
95
     *
96
     * @param string $readTime
97
     * @return Psr
98
     */
99
    public function setReadTime($readTime)
100
    {
101
        $this->readTime = $readTime;
102
103
        return $this;
104
    }
105
106
    /**
107
     * Get read time
108
     *
109
     * @return string
110
     */
111
    public function getReadTime()
112
    {
113
        return $this->readTime;
114
    }
115
116
    /**
117
     * Set updated time
118
     *
119
     * @param \DateTime $updated
120
     * @return Psr
121
     */
122
    public function setUpdated($updated)
123
    {
124
        $this->updated = $updated;
125
126
        return $this;
127
    }
128
129
    /**
130
     * Get updated time
131
     *
132
     * @return \DateTime
133
     */
134
    public function getUpdated()
135
    {
136
        return $this->updated;
137
    }
138
139
    /**
140
     * Set content
141
     *
142
     * @param string $content
143
     * @return Psr
144
     */
145
    public function setContent($content)
146
    {
147
        $this->content = $content;
148
149
        return $this;
150
    }
151
152
    /**
153
     * Get content
154
     *
155
     * @return string
156
     */
157
    public function getContent()
158
    {
159
        return $this->content;
160
    }
161
162
    /**
163
     * Set slug
164
     *
165
     * @param string $slug
166
     * @return Psr
167
     */
168
    public function setSlug($slug)
169
    {
170
        $this->slug = $slug;
171
172
        return $this;
173
    }
174
175
    /**
176
     * Get slug
177
     *
178
     * @return string
179
     */
180
    public function getSlug()
181
    {
182
        return $this->slug;
183
    }
184
185
    /**
186
     * Set meta document
187
     *
188
     * @param Psr $meta
189
     * @return Psr
190
     */
191
    public function setMeta($meta)
192
    {
193
        $this->meta = $meta;
194
195
        return $this;
196
    }
197
198
    /**
199
     * Get meta document
200
     *
201
     * @return Psr
202
     */
203
    public function getMeta()
204
    {
205
        return $this->meta;
206
    }
207
208
    /**
209
     * Set examples document
210
     *
211
     * @param Psr $examples
212
     * @return Psr
213
     */
214
    public function setExamples($examples)
215
    {
216
        $this->examples = $examples;
217
218
        return $this;
219
    }
220
221
    /**
222
     * Get examples document
223
     *
224
     * @return Psr
225
     */
226
    public function getExamples()
227
    {
228
        return $this->examples;
229
    }
230
}
231