get_called_class

Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
The "Late Static Binding" class name
<?php get_called_class(): string
<?php     public function name(): string

    {

        return Str::studly(class_basename(get_called_class()));

    }



    public function component(): string
<?php     public function component(): string

    {

        return Str::snake(class_basename(get_called_class()), '-');

    }



    public function beforeRenderingErrorPage(Flare $flare, Throwable $throwable)