I wonder if there is a performance difference between using Facades and helper methods in laravel 5.1.
I startet to remove for example use View;
or View::make()
wherever possible, thinking that view()
would be simpler and possibly faster. But I don't know.
Same with Redirect::to()
--> redirect()
, Redirect::back()
--> back()
and so on..
Is there a difference or does it not matter?
Facade::__callStatic()
->static::getFacadeRoot()
->static::resolveFacadeInstance(static::getFacadeAccessor())
->app()->make()->$method
while the helper directly callsapp()->make()
. – Germanium