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 Declaration of namespace ?



How to Declaration of namespace ?..

Answer / amit khanna

Namespaces can be defined as a class of elements in which each element has a unique name to that associated class. It may be shared with elements in other classes.

Syntax : use <namespace-name>;

The use keyword allows the developers to shorten the namespace. The default namespace used in Laravel is app

You can create a user defined namespace by using artisan command as shown below

php artisan app:name Manger

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

What is crud generator?

0 Answers  


What is observer in laravel?

0 Answers  


What is laravel route?

0 Answers  


Is laravel an mvc?

0 Answers  


What is the best package to set up billing and subscription with stripe and braintree?

0 Answers  


What does double quotation mean?

0 Answers  


What is laravel echo?

0 Answers  


How to create model controller and migration in a single artisan command in laravel?

0 Answers  


What is laravel service container?

0 Answers  


How facades are different from dependency injection?

0 Answers  


What is trait in laravel?

0 Answers  


What are helper functions and name 10 with their purposes?

0 Answers  


Categories