<?php namespace Lightscale\LaralightTables\Toolbar; use Illuminate\View\View; class Search extends Item { public function __construct( protected int $debounce = 250, protected int $minLength = 2, ) {} public function getMinLength(): int { return $this->minLength; } public function render(): View { return view('laralight-tables::toolbar.search', [ 'debounce' => $this->debounce, ]); } }