diff options
Diffstat (limited to 'src/Concerns/Makable.php')
| -rw-r--r-- | src/Concerns/Makable.php | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/src/Concerns/Makable.php b/src/Concerns/Makable.php new file mode 100644 index 0000000..7562970 --- /dev/null +++ b/src/Concerns/Makable.php @@ -0,0 +1,11 @@ +<?php + +namespace Lightscale\LaralightTables\Concerns; + +trait Makable +{ +    public static function make(mixed ...$args): static +    { +        return new static(...$args); +    } +} | 
