I have a line of PHP that calls a new class as such:
$habits = new \Order\VO\Habits();
To me this looks like a static method call, but I can't tell what exactly is going on. I know that I have a class that follows that name space, and it is just a class that contains a bunch of variables. I can tell that this class is being instantiated, but I can't understand what the purpose for doing it in this manner is. I've never seen a class in PHP called this way, so any documentation as to what this actually is and why the class is being called in this way would be very helpful.
The project I'm in uses the Zend-Framework, so I'm not sure if this is something unique to the framework itself?
EDIT:
The way the class is being called is not a problem, I just want to understand more about what calling a class that was does, and WHY it would be better to call this specific class this way as opposed to simply using
$habits = new habits();