InterviewSolution
Saved Bookmarks
| 1. |
What are facades? |
|
Answer» Facades are a way to register your class and its methods in LARAVEL Container so they are available in your whole APPLICATION after GETTING resolved by Reflection. The main benefit of using facades is we don’t have to remember long class names and also don’t need to require those classes in any other class for using them. It also gives more TESTABILITY to the application. The below image could HELP you understand why Facades are used for: Facades in Laravel |
|