Nama kelas Laravel
// laravel helper:
$baseClass = class_basename(App\Models\User::class);
// User
Lokesh003
// laravel helper:
$baseClass = class_basename(App\Models\User::class);
// User
// Before
<label class="font-bold text-sm pl-2 {{ $hidden ? 'invisible' : '' }}">{{$slot}}</label>
//After
<label @class(["font-bold text-sm pl-2","invisible" => $hidden,])>{{$slot}}</label>