We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a398d8f commit c74aa81Copy full SHA for c74aa81
src/Mods/Mod/Screenshots/ScreenshotMetaData.php
@@ -0,0 +1,38 @@
1
+<?php
2
+/**
3
+ * @package Mods
4
+ * @subpackage Screenshots
5
+ */
6
+
7
+declare(strict_types=1);
8
9
+namespace CPMDB\Mods\Mod\Screenshots;
10
11
12
+ * Single entry of screenshot metadata from the
13
+ * screenshot sidecar file.
14
+ *
15
16
17
18
+class ScreenshotMetaData
19
+{
20
+ private string $screenshotID;
21
+ private string $title;
22
23
+ public function __construct(string $screenshotID, string $title)
24
+ {
25
+ $this->screenshotID = $screenshotID;
26
+ $this->title = $title;
27
+ }
28
29
+ public function getScreenshotID() : string
30
31
+ return $this->screenshotID;
32
33
34
+ public function getTitle() : string
35
36
+ return $this->title;
37
38
+}
0 commit comments