define class in laravel code example
Example: class name laravel
// laravel helper:
$baseClass = class_basename(App\Models\User::class);
// User
// laravel helper:
$baseClass = class_basename(App\Models\User::class);
// User