Passed
Push — master ( 77d6c9...732152 )
by Florian
03:45
created

Semester::setName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the feedback project.
5
 *
6
 * (c) Florian Moser <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace App\Entity;
13
14
use App\Entity\Base\BaseEntity;
15
use App\Entity\Traits\IdTrait;
16
17
class Semester extends BaseEntity
18
{
19
    use IdTrait;
20
21
    /**
22
     * @var string
23
     *
24
     * @ORM\Column(type="text")
25
     */
26
    private $name;
27
28
    /**
29
     * @return string
30
     */
31
    public function getName(): string
32
    {
33
        return $this->name;
34
    }
35
36
    /**
37
     * @param string $name
38
     */
39
    public function setName(string $name): void
40
    {
41
        $this->name = $name;
42
    }
43
}
44