class_alias
spatie/once
Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
Creates an alias for a class
<?php class_alias
(
string $class
,
string $alias
,
bool $autoload
=
true
):
bool