forward_static_call

Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
Call a static method
forward_static_call(callable $callbackmixed ...$args): mixed
            $method 'boot'.class_basename($trait);



            if (
method_exists($class$method) && ! in_array($method$booted)) {

                
forward_static_call([$class$method]);



                
$booted[] = $method;

            }