summaryrefslogtreecommitdiff
path: root/src/DTS/Bookmark.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/DTS/Bookmark.php')
-rw-r--r--src/DTS/Bookmark.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/DTS/Bookmark.php b/src/DTS/Bookmark.php
index 93c7a29..560fad4 100644
--- a/src/DTS/Bookmark.php
+++ b/src/DTS/Bookmark.php
@@ -10,18 +10,21 @@ class Bookmark
public string $url;
+ public string $title;
+
public string $tag;
public string $addedAt;
- public bool $read;
+ public bool $unread;
- function __construct(string $id, string $url, string $tag, string $addedAt, bool $read)
+ function __construct(string $id, string $url, string $title, string $tag, string $addedAt, bool $unread)
{
$this->id = $id;
$this->url = $url;
+ $this->title = $title;
$this->tag = $tag;
$this->addedAt = $addedAt;
- $this->read = $read;
+ $this->unread = $unread;
}
}