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

Where will you define laravel's facades?

0 Answers  


Explain how to redirect user with flashed session data in laravel?

0 Answers  


How to launch vagrant box?

0 Answers  


How can I hide all stack whoops error information when the application is in production?

0 Answers  


What do you know about traits in laravel?

0 Answers  


Explain laravel echo.

0 Answers  


Explain how to register a middleware in laravel?

0 Answers  


In which directory laravel configartion files are kept.

0 Answers  


How to configure route cache in laravel?

0 Answers  


How do I perform dependency injection in laravel?

0 Answers  


How to use delete statement in laravel?

0 Answers  


Tell me what are pros and cons of using laravel framework?

0 Answers  


Categories