Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to create Facade in Laravel ?



How to create Facade in Laravel ?..

Answer / 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

More Laravel PHP Framework Interview Questions

What is your favorite feature of laravel?

0 Answers  


What are the basic concepts in laravel?

0 Answers  


What is laravel policy?

0 Answers  


Explain how to create custom middleware in laravel?

0 Answers  


How to check an input value is present or not in laravel?

0 Answers  


What are the types of service providers?

0 Answers  


How to upgrade valet to valet 2.0?

0 Answers  


What getfacadeaccessor method does?

0 Answers  


What is repository in laravel?

0 Answers  


How to use multiple or condition in laravel query?

0 Answers  


Explain automatic injection in laravel?

0 Answers  


How to create Controller Laravel - File Uploading ?

1 Answers  


Categories