| Total Complexity | 5 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Coverage | 58.33% |
| 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 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | 4 | public function getIdentifier() |
|
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param string $identifier |
||
| 38 | */ |
||
| 39 | 4 | public function setIdentifier($identifier) |
|
| 40 | { |
||
| 41 | 4 | $this->identifier = $identifier; |
|
| 42 | 4 | } |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getDescription(): string |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param string $description |
||
| 54 | */ |
||
| 55 | public function setDescription(string $description): void |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return string |
||
| 62 | */ |
||
| 63 | 1 | public function jsonSerialize() |
|
| 66 | } |
||
| 67 | } |