diff options
Diffstat (limited to 'src/Toolbar/Concerns/WithSlot.php')
| -rw-r--r-- | src/Toolbar/Concerns/WithSlot.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Toolbar/Concerns/WithSlot.php b/src/Toolbar/Concerns/WithSlot.php new file mode 100644 index 0000000..2279f1d --- /dev/null +++ b/src/Toolbar/Concerns/WithSlot.php @@ -0,0 +1,17 @@ +<?php + +declare(strict_types=1); + +namespace Lightscale\LaralightTables\Toolbar\Concerns; + +trait WithSlot +{ + protected string $slot = ''; + + public function slot(string $slot): static + { + $this->slot = $slot; + + return $this; + } +} |
