Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- |--------------------------------------------------------------------------
- | 分组使用声明
- |--------------------------------------------------------------------------
- |
- | 可以使用 {} 包含相同路径命名空间。
- |
- */
- // PHP 7 之前
- use App\Models\User as U;
- use App\Models\Point as P;
- use App\Models\Album as A;
- // PHP 7 之后
- use App\Models\{User as U, Point as P, Album as A};
Add Comment
Please, Sign In to add comment