diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2021-10-07 21:31:17 +0100 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2021-10-07 21:31:17 +0100 |
| commit | 0f273c0a8ead390346571c4be2296fa6e384eff6 (patch) | |
| tree | 292fc180a277a5324df73c5c8b02c8c673e812a3 /src/DTS/Bookmark.php | |
| parent | 34ba17ceeecd3ac6be9e31be45ee76757da2dec0 (diff) | |
Add bookmarks
Diffstat (limited to 'src/DTS/Bookmark.php')
| -rw-r--r-- | src/DTS/Bookmark.php | 9 |
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; } } |
