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 |
How to generate application key in laravel? Why it is neccessary?
Difference between Authentication and Authorization ?
List some use valet commands?
What is seed in laravel?
What is backend framework?
What is system requirement for installation of laravel 5.2 (latest version)?
Explain binding a singleton?
What is the make method?
Tell me how do I see all of the routes that are defined?
How x-csrf-token is different from csrf tokens?
How to use updateorinsert() method in laravel query?
Please provide steps to configure homestead?