Come on Taylor Ortwell whats the deal? I spend time learning about Facades and their round-a-bout method of getting them registered and running. Now with Laravel 5.4 I can get the same outcome by typing a single line of code.
What is a Laravel Facade?
A Facade is a “static” interface for classes that are available in the application’s service container. Think functions on steroids!
Creating them WAS simple but there where a few loops you had to jump through. But now just declare them using the Facades namespace
and use them with
No need to register your Facades. Just like before DI is taken care of.
In case you don’t get it I think this new method of declaring Facades is a good thing.