summaryrefslogtreecommitdiff
path: root/src/DTS/Bookmark.php
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2021-09-18 12:20:59 +0100
committerDavid T. Sadler <davidtsadler@googlemail.com>2021-09-18 12:20:59 +0100
commit2b15ee9eae6a98fba871b4c587cdd8cfc1b1b48a (patch)
treee3ceb3a87c11b925f0df0088da82427f793b2e14 /src/DTS/Bookmark.php
parent3431dc10bc8c9925dcda272855de379321d832b2 (diff)
Beginning of rewrite
Diffstat (limited to 'src/DTS/Bookmark.php')
-rw-r--r--src/DTS/Bookmark.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/DTS/Bookmark.php b/src/DTS/Bookmark.php
new file mode 100644
index 0000000..93c7a29
--- /dev/null
+++ b/src/DTS/Bookmark.php
@@ -0,0 +1,27 @@
+<?php
+
+declare(strict_types=1);
+
+namespace DTS;
+
+class Bookmark
+{
+ public string $id;
+
+ public string $url;
+
+ public string $tag;
+
+ public string $addedAt;
+
+ public bool $read;
+
+ function __construct(string $id, string $url, string $tag, string $addedAt, bool $read)
+ {
+ $this->id = $id;
+ $this->url = $url;
+ $this->tag = $tag;
+ $this->addedAt = $addedAt;
+ $this->read = $read;
+ }
+}