Laravel - Execution of Facades vs. Helpers methods

I wonder if there is a performance difference between using Facades and helper methods in laravel 5.1.

I am starting to delete, for example, use View;or View::make(), if possible, believing that it view()will be simpler and possibly faster. But I do not know.

Same thing with Redirect::to()redirect(), Redirect::back()back(), etc.

Is there a difference or does it not matter?

+4
source share
1 answer

I do not think that there is a big difference in performance, but you need to take into account the reduced cognitive load, which always includes the operator usewhen using the facade. Another thing to forget.

0

All Articles