<?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)