mardi 14 février 2017

Incorrect namespacing when creating new class in Laravel 5

I have a problem in PHPstorm, that when I create a new class, it does not add 'App' to the namespace:

enter image description here

And when I add 'App' to the namespace it creates a folder with such a name: enter image description here

Of course I can manually delete the folder name and it will be all ok. But is there a way I can avoid this? For controllers/models and all other classes that I generate with artisan command that is not a problem, but for classes that I create in my apps domain folders it is really annoying having to manually add the namespace and deleting it from the folder.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2lbaiQu
via IFTTT

Aucun commentaire:

Enregistrer un commentaire