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

How to generate application key in laravel? Why it is neccessary?

0 Answers  


Difference between Authentication and Authorization ?

1 Answers  


List some use valet commands?

0 Answers  


What is seed in laravel?

0 Answers  


What is backend framework?

0 Answers  


What is system requirement for installation of laravel 5.2 (latest version)?

0 Answers  


Explain binding a singleton?

0 Answers  


What is the make method?

0 Answers  


Tell me how do I see all of the routes that are defined?

0 Answers  


How x-csrf-token is different from csrf tokens?

0 Answers  


How to use updateorinsert() method in laravel query?

0 Answers  


Please provide steps to configure homestead?

0 Answers  


Categories