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)