From 086e2d2668784469ec114f6e6fd2b3dace3d7c3b Mon Sep 17 00:00:00 2001
From: Jonas Kohl
Date: Thu, 12 Sep 2024 19:49:17 +0200
Subject: Way more progress on forum

---
 src/application/mystic/forum/attributes/DefaultValue.php | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 src/application/mystic/forum/attributes/DefaultValue.php

(limited to 'src/application/mystic/forum/attributes/DefaultValue.php')

diff --git a/src/application/mystic/forum/attributes/DefaultValue.php b/src/application/mystic/forum/attributes/DefaultValue.php
new file mode 100644
index 0000000..e3dd1a5
--- /dev/null
+++ b/src/application/mystic/forum/attributes/DefaultValue.php
@@ -0,0 +1,10 @@
+<?php
+
+namespace mystic\forum\attributes;
+
+#[\Attribute(\Attribute::TARGET_PROPERTY)]
+class DefaultValue {
+    public function __construct(
+        public readonly string $defaultValue,
+    ) {}
+}
-- 
cgit v1.2.3