From 0f273c0a8ead390346571c4be2296fa6e384eff6 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Thu, 7 Oct 2021 21:31:17 +0100 Subject: Add bookmarks --- src/DTS/Bookmark.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/DTS/Bookmark.php') 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; } } -- cgit v1.2.3-13-gbd6f