Answer Posted / suresh kumar
The following are the steps to create Facade in Laravel -
Step 1 - Create PHP Class File.
Step 2 - Bind that class to Service Provider.
Step 3 - Register that ServiceProvider to
Configapp.php as providers.
Step 4 - Create Class which is this class extends to
lluminateSupportFacadesFacade.
Step 5 - Register point 4 to Configapp.php as aliases.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to enable query log in laravel 5?
What is isset function?
What are route prefixes?
How to use insert statement in laravel?
What is laravel service provider?
What is difference between single quote and double quote?
What is meant by Attaching Cookies ?
How can we use the custom table in laravel?
How do you generate urls?
How to Connecting to Database in Laravel ?
How to disable maintaince mode in laravel?
What is laravel illuminate?
What is a Terminable Middleware ?
How to write html code in laravel controller?
What is lts in laravel?