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 configure route cache in laravel?
What are the Steps for Creating a Blade Template Layout ?
What is seeding in laravel?
What is the boot method?
What is queues?
Explain to listeners.
What is vagrantfile?
How to retrive all requested data in laravel?
Explain the service container?
What are view composers?
Explain how to install installing mariadb on homestead?
What is meant by check method ?
How do I register a service provider?
What is asset in laravel?
List out some artisan commands?