Aliasing and Importing
Aliasing allows renaming imported classes.
This is useful when two classes share the same name.
Example
Section titled “Example”use App\Models\User as AppUser;use Vendor\Auth\User as AuthUser;
$appUser = new AppUser();$authUser = new AuthUser();