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