Hoyt Jolly
Hoyt Jolly

Reputation: 25

Laravel Facades Usage, \DB vrs use DB vrs use Illuminate\Support\Facades\DB;

We are supporting a Laravel code base where the Database Facade is accessed using the following:

We would like to pick one and use it through the codebase. Is there a functional advantage or difference to using one over the others?

We have tried all three, and each seems to work.

Upvotes: 0

Views: 23

Answers (0)

Related Questions