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 static function factory($count = null, $state = [])

    {

        $factory = static::newFactory() ?: Factory::factoryForModel(get_called_class());



        return $factory

                    ->count(is_numeric($count) ? $count : null)
<?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)