Hi - Within the Http/Controllers folder I want to add a variety of additional folders to reflect a deepening application structure. So for example:
Directory Structure: Http / Controllers / Public / Contractors / ContractorsController.php
When I apply the Namespace to the ContractorsController.php I am getting an error the moment I go beyond :
App/Http / Controllers/
When I do so, I get the error on PHPStorm:
And if I try to go further with for example:
App\Http\Controllers\Public\Contractors; The "Contractors" element is also lit up "Undefined Constant"
This is very curious as the namespace: "App\Http\Controllers\Auth" gives no error.
What have I done wrong ?
Many thanks !