Total Complexity | 5 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | class Scope implements ScopeEntityInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var string $identifier |
||
17 | * @ORM\Id |
||
18 | * @ORM\Column(type="string", length=40) |
||
19 | */ |
||
20 | protected $identifier; |
||
21 | |||
22 | /** |
||
23 | * @var string $description |
||
24 | * @ORM\Column(type="string", length=255) |
||
25 | */ |
||
26 | private $description; |
||
27 | |||
28 | 4 | /** |
|
29 | * @return string |
||
30 | 4 | */ |
|
31 | 4 | public function getIdentifier() |
|
34 | } |
||
35 | |||
36 | 4 | /** |
|
37 | * @param string $identifier |
||
38 | 4 | */ |
|
39 | public function setIdentifier($identifier) |
||
40 | { |
||
41 | $this->identifier = $identifier; |
||
42 | } |
||
43 | |||
44 | 4 | /** |
|
45 | * @return string |
||
46 | 4 | */ |
|
47 | 4 | public function getDescription(): string |
|
50 | } |
||
51 | |||
52 | 1 | /** |
|
53 | * @param string $description |
||
54 | 1 | */ |
|
55 | public function setDescription(string $description): void |
||
58 | } |
||
59 | |||
60 | /** |
||
61 | * @return string |
||
62 | */ |
||
63 | public function jsonSerialize() |
||
66 | } |
||
67 | } |