Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bufferoverflow's avatar

PHP multiple class import in a single line of code

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?

0 likes
1 reply

Please or to participate in this conversation.