Hi all,
In the official documentation of Models:
A model is a class that extends from Phalcon\Mvc\Model. It must be placed in the models directory.
Why should it be in "models" directory? Can this be overridden?
I have a structure like:
\MyAppNamespace\User\Model.php \MyAppNamespace\ObjectA\Model.php \MyAppNamespace\ObjectB\Model.php
I don't group my application models together.
Besides, Phalcon\Mvc\Model\Manager should not even concern itself with the location of classes. It's a task of autoloader.
Any thoughts?
Thanks, Temuri