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 |
What is mvc framework?
What is escape string?
What are the databases laravel supports?
Is it easy to learn laravel?
What is namespace in laravel?
Explain how to install installing mariadb on homestead?
In order to run laravel. What permissions are required to be on storage and the bootstrap/cache directories?
what are Important Points contracts in Laravel ?
Tell us how to use update statement in laravel?
What is laravel illuminate?
Explain validations in laravel?
Explain laravel service container?