aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/SystemTag/SystemTag.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/SystemTag/SystemTag.php')
-rw-r--r--lib/private/SystemTag/SystemTag.php25
1 files changed, 10 insertions, 15 deletions
diff --git a/lib/private/SystemTag/SystemTag.php b/lib/private/SystemTag/SystemTag.php
index 83fb6bc7f93..1a573dabeaa 100644
--- a/lib/private/SystemTag/SystemTag.php
+++ b/lib/private/SystemTag/SystemTag.php
@@ -16,40 +16,27 @@ class SystemTag implements ISystemTag {
private string $name,
private bool $userVisible,
private bool $userAssignable,
+ private ?string $etag = null,
+ private ?string $color = null,
) {
}
- /**
- * {@inheritdoc}
- */
public function getId(): string {
return $this->id;
}
- /**
- * {@inheritdoc}
- */
public function getName(): string {
return $this->name;
}
- /**
- * {@inheritdoc}
- */
public function isUserVisible(): bool {
return $this->userVisible;
}
- /**
- * {@inheritdoc}
- */
public function isUserAssignable(): bool {
return $this->userAssignable;
}
- /**
- * {@inheritdoc}
- */
public function getAccessLevel(): int {
if (!$this->userVisible) {
return self::ACCESS_LEVEL_INVISIBLE;
@@ -61,4 +48,12 @@ class SystemTag implements ISystemTag {
return self::ACCESS_LEVEL_PUBLIC;
}
+
+ public function getETag(): ?string {
+ return $this->etag;
+ }
+
+ public function getColor(): ?string {
+ return $this->color;
+ }
}