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 |
Explain laravel service container?
What is routing and how, and what are the different ways to write it?
What do you mean by tagging used in laravel 5?
How we can upload files in laravel? Explain
What is blueprint in laravel?
What version of laravel do you generally use?
What is composer in laravel?
Laravle supports which databases?
How to use custom table in laravel modal?
What is laravel trait?
What is laravel elixir?
Explain loggin in laravel.