Answer Posted / 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 View All Answers
What is x-csrf-token?
What is register method?
What are the Features of Laravel ?
Explain what is laravel
Explain auth.
Define implicit controller.
What are route groups?
What is your favorite feature of laravel?
How to extend login expire time in auth?
What is helper function in laravel?
Define hashing in laravel.
What do you know about laravel eloquent?
How to register a service provider in laravel?
What is reverse routing?
What is gate in laravel?