Level 75
The PHP manual would actually explain this.
I guess I can look it up https://www.php.net/manual/en/language.namespaces.importing.php
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I saw it in one of the Laracasts videos but i can't find it anymore and i don't remember the correct syntax. Also i can not find it in php docs.
It was something like:
use App\Models\(User, Team, Project);
Which is the correct syntax?
The PHP manual would actually explain this.
I guess I can look it up https://www.php.net/manual/en/language.namespaces.importing.php
Please or to participate in this conversation.