• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Models in Subfolder? Namespace?

I'm facing the problem that I have a lot of models and I want to organize them into subfolder. But when I create subfolder and change the namespaces accordingly, the models are not found anymore. It does only work if they are located in the "root Models" folder..

What could be the problem here? Anybody else having this problem or a solution for this?

it seems to be a problem with my IDE (PHPStorm) when drag&drop-ing the models into the Subfolder. Creating the classes with "right click -> new PHP class" on the subfolder does work as expected..

I dont know exactly what the problem is/was. But after creating it that way it works.

It has to do with phpStrom and refactoring making it to slow.

It has been asked to add it but I do not think that they will.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.