diff options
Diffstat (limited to 'src/application/mystic/forum/attributes/DefaultValue.php')
-rw-r--r-- | src/application/mystic/forum/attributes/DefaultValue.php | 10 |
1 files changed, 10 insertions, 0 deletions
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, + ) {} +} |