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

Tell us what are advantages of laravel?

0 Answers  


How to pass multiple variables by controller to blade file?

1 Answers  


Explain some features of laravel?

0 Answers  


How to do 301 redirects in laravel?

0 Answers  


Explain closures in laravel?

0 Answers  


Explain how to get current url in laravel?

0 Answers  


What is difference between php and laravel?

1 Answers  


Tell me how would you add a 3rd party package like sentry?

0 Answers  


What is eloquent model?

0 Answers  


What is ajax in laravel?

1 Answers  


Explain the service container and its advantages.

0 Answers  


How to write php code in laravel blade?

0 Answers  


Categories