Completed
Push — master ( 0fb6c2...a0d538 )
by Adam
19:02
created

ClientGroupTranslation::setDescription()   A

Complexity

Conditions 1
Paths 1

Duplication

Lines 0
Ratio 0 %

Size

Total Lines 4
Code Lines 2

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/*
3
 * WellCommerce Open-Source E-Commerce Platform
4
 *
5
 * This file is part of the WellCommerce package.
6
 *
7
 * (c) Adam Piotrowski <[email protected]>
8
 *
9
 * For the full copyright and license information,
10
 * please view the LICENSE file that was distributed with this source code.
11
 */
12
13
namespace WellCommerce\Bundle\AppBundle\Entity;
14
15
use Knp\DoctrineBehaviors\Model\Translatable\Translation;
16
use WellCommerce\Bundle\CoreBundle\Entity\AbstractTranslation;
17
18
/**
19
 * Class ClientGroupTranslation
20
 *
21
 * @author  Adam Piotrowski <[email protected]>
22
 */
23
class ClientGroupTranslation extends AbstractTranslation
24
{
25
    use Translation;
26
    
27
    protected $name        = '';
28
    protected $description = '';
29
    
30
    public function getName(): string
31
    {
32
        return $this->name;
33
    }
34
    
35
    public function setName(string $name)
36
    {
37
        $this->name = $name;
38
    }
39
    
40
    public function getDescription(): string
41
    {
42
        return $this->description;
43
    }
44
    
45
    public function setDescription(string $description)
46
    {
47
        $this->description = $description;
48
    }
49
}
50