diff options
| author | Zhineng Li <[email protected]> | 2026-01-05 16:26:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-01-05 16:26:11 +0800 |
| commit | a49763dd739c3c68c4a8322896d594e926ac8e6b (patch) | |
| tree | ab96cf55ccf828ec3c61d7cf5c440cc8fe837a9b /src/Makable.php | |
first commit
Diffstat (limited to 'src/Makable.php')
| -rw-r--r-- | src/Makable.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Makable.php b/src/Makable.php new file mode 100644 index 0000000..15352dc --- /dev/null +++ b/src/Makable.php @@ -0,0 +1,13 @@ +<?php + +declare(strict_types=1); + +namespace Zhineng\Snowflake; + +trait Makable +{ + public static function make(mixed ...$args): static + { + return new static(...$args); + } +} |
